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).

int

CSR version (1=v1).

The raw subject data (DER).

The parsed subject data (named information object).

Container for the public key context.

unsigned int

Optional key usage extension value: See the values in x509.h.

unsigned char

Optional Netscape certificate type extension value: See the values in x509.h.

Optional list of raw entries of Subject Alternative Names extension.

Public Functions#

int
MBEDTLS_PRIVATE(ext_types)

Bit string containing detected and parsed extensions.

mbedtls_md_type_t

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

mbedtls_pk_type_t

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

void *
MBEDTLS_PRIVATE(sig_opts)

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

Public Attribute Documentation#

raw#

mbedtls_x509_buf mbedtls_x509_csr::raw

The raw CSR data (DER).


Definition at line 51 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

cri#

mbedtls_x509_buf mbedtls_x509_csr::cri

The raw CertificateRequestInfo body (DER).


Definition at line 52 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

version#

int mbedtls_x509_csr::version

CSR version (1=v1).


Definition at line 54 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

subject_raw#

mbedtls_x509_buf mbedtls_x509_csr::subject_raw

The raw subject data (DER).


Definition at line 56 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

subject#

mbedtls_x509_name mbedtls_x509_csr::subject

The parsed subject data (named information object).


Definition at line 57 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

pk#

mbedtls_pk_context mbedtls_x509_csr::pk

Container for the public key context.


Definition at line 59 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

key_usage#

unsigned int mbedtls_x509_csr::key_usage

Optional key usage extension value: See the values in x509.h.


Definition at line 61 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

ns_cert_type#

unsigned char mbedtls_x509_csr::ns_cert_type

Optional Netscape certificate type extension value: See the values in x509.h.


Definition at line 62 of file util/third_party/mbedtls/include/mbedtls/x509_csr.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.


Definition at line 63 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

sig_oid#

mbedtls_x509_buf mbedtls_x509_csr::sig_oid

Definition at line 67 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

Public Function Documentation#

MBEDTLS_PRIVATE#

int mbedtls_x509_csr::MBEDTLS_PRIVATE (ext_types )

Bit string containing detected and parsed extensions.

Parameters
N/A

Definition at line 65 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

MBEDTLS_PRIVATE#

mbedtls_x509_buf mbedtls_x509_csr::MBEDTLS_PRIVATE (sig )
Parameters
N/A

Definition at line 68 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

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.

Parameters
N/A

MBEDTLS_MD_SHA256


Definition at line 69 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

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.

Parameters
N/A

MBEDTLS_PK_RSA


Definition at line 70 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h

MBEDTLS_PRIVATE#

void * mbedtls_x509_csr::MBEDTLS_PRIVATE (sig_opts )

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

Parameters
N/A

for RSASSA-PSS


Definition at line 71 of file util/third_party/mbedtls/include/mbedtls/x509_csr.h