Certificate Signing Request (CSR) structure.
Some fields of this structure are publicly readable. Do not modify them except via Mbed TLS library functions: the effect of modifying those fields or the data that those fields point to is unspecified.
Public Attributes#
The raw CSR data (DER).
The raw CertificateRequestInfo body (DER).
CSR version (1=v1).
The raw subject data (DER).
The parsed subject data (named information object).
Container for the public key context.
Optional key usage extension value: See the values in x509.h.
Optional Netscape certificate type extension value: See the values in x509.h.
Optional list of raw entries of Subject Alternative Names extension.
Public Functions#
Bit string containing detected and parsed extensions.
Internal representation of the MD algorithm of the signature algorithm, e.g.
Internal representation of the Public Key algorithm of the signature algorithm, e.g.
Signature options to be passed to mbedtls_pk_verify_ext(), e.g.
Public Attribute Documentation#
subject#
mbedtls_x509_name mbedtls_x509_csr::subject
The parsed subject data (named information object).
key_usage#
unsigned int mbedtls_x509_csr::key_usage
Optional key usage extension value: See the values in x509.h.
ns_cert_type#
unsigned char mbedtls_x509_csr::ns_cert_type
Optional Netscape certificate type extension value: See the values in x509.h.
subject_alt_names#
mbedtls_x509_sequence mbedtls_x509_csr::subject_alt_names
Optional list of raw entries of Subject Alternative Names extension.
These can be later parsed by mbedtls_x509_parse_subject_alt_name.
Public Function Documentation#
MBEDTLS_PRIVATE#
int mbedtls_x509_csr::MBEDTLS_PRIVATE (ext_types )
Bit string containing detected and parsed extensions.
Type | Direction | Argument Name | Description |
---|---|---|---|
ext_types | N/A |
MBEDTLS_PRIVATE#
mbedtls_x509_buf mbedtls_x509_csr::MBEDTLS_PRIVATE (sig )
Type | Direction | Argument Name | Description |
---|---|---|---|
sig | N/A |
MBEDTLS_PRIVATE#
mbedtls_md_type_t mbedtls_x509_csr::MBEDTLS_PRIVATE (sig_md )
Internal representation of the MD algorithm of the signature algorithm, e.g.
Type | Direction | Argument Name | Description |
---|---|---|---|
sig_md | N/A |
MBEDTLS_MD_SHA256
MBEDTLS_PRIVATE#
mbedtls_pk_type_t mbedtls_x509_csr::MBEDTLS_PRIVATE (sig_pk )
Internal representation of the Public Key algorithm of the signature algorithm, e.g.
Type | Direction | Argument Name | Description |
---|---|---|---|
sig_pk | N/A |
MBEDTLS_PK_RSA
MBEDTLS_PRIVATE#
void * mbedtls_x509_csr::MBEDTLS_PRIVATE (sig_opts )
Signature options to be passed to mbedtls_pk_verify_ext(), e.g.
Type | Direction | Argument Name | Description |
---|---|---|---|
sig_opts | N/A |
for RSASSA-PSS