23 #ifndef MBEDTLS_X509_CRL_H
24 #define MBEDTLS_X509_CRL_H
26 #if !defined(MBEDTLS_CONFIG_FILE)
29 #include MBEDTLS_CONFIG_FILE
109 const unsigned char *buf,
size_t buflen );
124 #if defined(MBEDTLS_FS_IO)
135 int mbedtls_x509_crl_parse_file(
mbedtls_x509_crl *chain,
const char *path );
Certificate revocation list entry.
int version
CRL version (1=v1, 2=v2)
int mbedtls_x509_crl_info(char *buf, size_t size, const char *prefix, const mbedtls_x509_crl *crl)
Returns an informational string about the CRL.
Certificate revocation list structure.
struct mbedtls_x509_crl mbedtls_x509_crl
Certificate revocation list structure.
mbedtls_x509_buf issuer_raw
The raw issuer data (DER).
mbedtls_pk_type_t
Public key types.
Compatibility names (set of defines)
struct mbedtls_x509_crl * next
int mbedtls_x509_crl_parse_der(mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen)
Parse a DER-encoded CRL and append it to the chained list.
mbedtls_x509_name issuer
The parsed issuer data (named information object).
mbedtls_x509_crl_entry entry
The CRL entries containing the certificate revocation times for this CA.
Container for a sequence or list of 'named' ASN.1 data items.
mbedtls_md_type_t sig_md
Internal representation of the MD algorithm of the signature algorithm, e.g.
mbedtls_x509_time this_update
void mbedtls_x509_crl_free(mbedtls_x509_crl *crl)
Unallocate all CRL data.
Type-length-value structure that allows for ASN1 using DER.
Container for date and time (precision in seconds).
mbedtls_x509_time next_update
int mbedtls_x509_crl_parse(mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen)
Parse one or more CRLs and append them to the chained list.
mbedtls_x509_buf raw
The raw certificate data (DER).
struct mbedtls_x509_crl_entry mbedtls_x509_crl_entry
Certificate revocation list entry.
void * sig_opts
Signature options to be passed to mbedtls_pk_verify_ext(), e.g.
void mbedtls_x509_crl_init(mbedtls_x509_crl *crl)
Initialize a CRL (chain)
X.509 generic defines and structures.
mbedtls_x509_buf sig_oid
CRL signature type identifier.
mbedtls_x509_buf tbs
The raw certificate body (DER).
mbedtls_x509_buf sig_oid2
mbedtls_pk_type_t sig_pk
Internal representation of the Public Key algorithm of the signature algorithm, e.g.
mbedtls_x509_time revocation_date
struct mbedtls_x509_crl_entry * next
mbedtls_x509_buf entry_ext