mbedtls_x509_csr Struct Reference

Certificate Signing Request (CSR) structure.

#include <x509_csr.h>

Public Member Functions

mbedtls_x509_buf MBEDTLS_PRIVATE (sig)
mbedtls_md_type_t MBEDTLS_PRIVATE (sig_md)
Internal representation of the MD algorithm of the signature algorithm, e.g.
mbedtls_pk_type_t MBEDTLS_PRIVATE (sig_pk)
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.

Data Fields

mbedtls_x509_buf raw
The raw CSR data (DER).
mbedtls_x509_buf cri
The raw CertificateRequestInfo body (DER).
int version
CSR version (1=v1).
mbedtls_x509_buf subject_raw
The raw subject data (DER).
mbedtls_x509_name subject
The parsed subject data (named information object).
mbedtls_pk_context pk
Container for the public key context.
mbedtls_x509_buf sig_oid

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.

Member Function Documentation

MBEDTLS_PRIVATE() [1/3]

mbedtls_md_type_t mbedtls_x509_csr::MBEDTLS_PRIVATE ( sig_md )

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

MBEDTLS_MD_SHA256

MBEDTLS_PRIVATE() [2/3]

mbedtls_pk_type_t mbedtls_x509_csr::MBEDTLS_PRIVATE ( sig_pk )

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

MBEDTLS_PK_RSA

MBEDTLS_PRIVATE() [3/3]

void* mbedtls_x509_csr::MBEDTLS_PRIVATE ( sig_opts )

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

for RSASSA-PSS

Field Documentation

raw

mbedtls_x509_buf mbedtls_x509_csr::raw

The raw CSR data (DER).

cri

mbedtls_x509_buf mbedtls_x509_csr::cri

The raw CertificateRequestInfo body (DER).

version

int mbedtls_x509_csr::version

CSR version (1=v1).

subject_raw

mbedtls_x509_buf mbedtls_x509_csr::subject_raw

The raw subject data (DER).

subject

mbedtls_x509_name mbedtls_x509_csr::subject

The parsed subject data (named information object).

pk

mbedtls_pk_context mbedtls_x509_csr::pk

Container for the public key context.