XenevaOS
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
mbedtls_x509_csr Struct Reference

#include <x509_csr.h>

Collaboration diagram for mbedtls_x509_csr:
Collaboration graph
[legend]

Public Member Functions

int MBEDTLS_PRIVATE (ext_types)
 
mbedtls_x509_buf MBEDTLS_PRIVATE (sig)
 
mbedtls_md_type_t MBEDTLS_PRIVATE (sig_md)
 
mbedtls_pk_type_t MBEDTLS_PRIVATE (sig_pk)
 
void * MBEDTLS_PRIVATE (sig_opts)
 

Public Attributes

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
 
mbedtls_x509_buf sig_oid
 

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.

Member Function Documentation

◆ MBEDTLS_PRIVATE() [1/5]

int mbedtls_x509_csr::MBEDTLS_PRIVATE ( ext_types  )

Bit string containing detected and parsed extensions

◆ MBEDTLS_PRIVATE() [2/5]

mbedtls_x509_buf mbedtls_x509_csr::MBEDTLS_PRIVATE ( sig  )

◆ MBEDTLS_PRIVATE() [3/5]

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() [4/5]

void * mbedtls_x509_csr::MBEDTLS_PRIVATE ( sig_opts  )

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

◆ MBEDTLS_PRIVATE() [5/5]

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

Member Data Documentation

◆ cri

mbedtls_x509_buf mbedtls_x509_csr::cri

The raw CertificateRequestInfo body (DER).

◆ 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

◆ pk

mbedtls_pk_context mbedtls_x509_csr::pk

Container for the public key context.

◆ raw

mbedtls_x509_buf mbedtls_x509_csr::raw

The raw CSR data (DER).

◆ sig_oid

mbedtls_x509_buf mbedtls_x509_csr::sig_oid

◆ subject

mbedtls_x509_name mbedtls_x509_csr::subject

The parsed subject data (named information object).

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

◆ subject_raw

mbedtls_x509_buf mbedtls_x509_csr::subject_raw

The raw subject data (DER).

◆ version

int mbedtls_x509_csr::version

CSR version (1=v1).


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