Mbed TLS v3.6.2
Loading...
Searching...
No Matches
mbedtls_x509_csr Struct Reference

#include <x509_csr.h>

Collaboration diagram for mbedtls_x509_csr:

Data Fields

mbedtls_x509_buf raw
 
mbedtls_x509_buf cri
 
int version
 
mbedtls_x509_buf subject_raw
 
mbedtls_x509_name subject
 
mbedtls_pk_context pk
 
unsigned int key_usage
 
unsigned char ns_cert_type
 
mbedtls_x509_sequence subject_alt_names
 
int private_ext_types
 
mbedtls_x509_buf sig_oid
 
mbedtls_x509_buf private_sig
 
mbedtls_md_type_t private_sig_md
 
mbedtls_pk_type_t private_sig_pk
 
void * private_sig_opts
 

Detailed Description

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.

Definition at line 38 of file x509_csr.h.

Field Documentation

◆ cri

mbedtls_x509_buf mbedtls_x509_csr::cri

The raw CertificateRequestInfo body (DER).

Definition at line 40 of file 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 49 of file 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 50 of file x509_csr.h.

◆ pk

mbedtls_pk_context mbedtls_x509_csr::pk

Container for the public key context.

Definition at line 47 of file x509_csr.h.

◆ private_ext_types

int mbedtls_x509_csr::private_ext_types

Bit string containing detected and parsed extensions

Definition at line 53 of file x509_csr.h.

◆ private_sig

mbedtls_x509_buf mbedtls_x509_csr::private_sig

Definition at line 56 of file x509_csr.h.

◆ private_sig_md

mbedtls_md_type_t mbedtls_x509_csr::private_sig_md

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

Definition at line 57 of file x509_csr.h.

◆ private_sig_opts

void* mbedtls_x509_csr::private_sig_opts

Signature options to be passed to mbedtls_pk_verify_ext(), e.g. for RSASSA-PSS

Definition at line 59 of file x509_csr.h.

◆ private_sig_pk

mbedtls_pk_type_t mbedtls_x509_csr::private_sig_pk

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

Definition at line 58 of file x509_csr.h.

◆ raw

mbedtls_x509_buf mbedtls_x509_csr::raw

The raw CSR data (DER).

Definition at line 39 of file x509_csr.h.

◆ sig_oid

mbedtls_x509_buf mbedtls_x509_csr::sig_oid

Definition at line 55 of file x509_csr.h.

◆ subject

mbedtls_x509_name mbedtls_x509_csr::subject

The parsed subject data (named information object).

Definition at line 45 of file 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 51 of file x509_csr.h.

◆ subject_raw

mbedtls_x509_buf mbedtls_x509_csr::subject_raw

The raw subject data (DER).

Definition at line 44 of file x509_csr.h.

◆ version

int mbedtls_x509_csr::version

CSR version (1=v1).

Definition at line 42 of file x509_csr.h.


The documentation for this struct was generated from the following file: