Mbed OS Reference
Loading...
Searching...
No Matches
mbedtls_x509_csr Struct Reference

Certificate Signing Request (CSR) structure. More...

#include <x509_csr.h>

Data Fields

mbedtls_x509_buf raw
 The raw CSR data (DER). More...
 
mbedtls_x509_buf cri
 The raw CertificateRequestInfo body (DER). More...
 
int version
 CSR version (1=v1). More...
 
mbedtls_x509_buf subject_raw
 The raw subject data (DER). More...
 
mbedtls_x509_name subject
 The parsed subject data (named information object). More...
 
mbedtls_pk_context pk
 Container for the public key context. More...
 
mbedtls_md_type_t sig_md
 Internal representation of the MD algorithm of the signature algorithm, e.g. More...
 
mbedtls_pk_type_t sig_pk
 Internal representation of the Public Key algorithm of the signature algorithm, e.g. More...
 
void * sig_opts
 Signature options to be passed to mbedtls_pk_verify_ext(), e.g. More...
 

Detailed Description

Certificate Signing Request (CSR) structure.

Definition at line 49 of file x509_csr.h.

Field Documentation

◆ raw

The raw CSR data (DER).

Definition at line 51 of file x509_csr.h.

◆ cri

The raw CertificateRequestInfo body (DER).

Definition at line 52 of file x509_csr.h.

◆ version

int version

CSR version (1=v1).

Definition at line 54 of file x509_csr.h.

◆ subject_raw

mbedtls_x509_buf subject_raw

The raw subject data (DER).

Definition at line 56 of file x509_csr.h.

◆ subject

The parsed subject data (named information object).

Definition at line 57 of file x509_csr.h.

◆ pk

Container for the public key context.

Definition at line 59 of file x509_csr.h.

◆ sig_md

Internal representation of the MD algorithm of the signature algorithm, e.g.

MBEDTLS_MD_SHA256

Definition at line 63 of file x509_csr.h.

◆ sig_pk

Internal representation of the Public Key algorithm of the signature algorithm, e.g.

MBEDTLS_PK_RSA

Definition at line 64 of file x509_csr.h.

◆ sig_opts

void* sig_opts

Signature options to be passed to mbedtls_pk_verify_ext(), e.g.

for RSASSA-PSS

Definition at line 65 of file x509_csr.h.