22#ifndef MBEDTLS_X509_CRL_H
23#define MBEDTLS_X509_CRL_H
25#if !defined(MBEDTLS_CONFIG_FILE)
28#include MBEDTLS_CONFIG_FILE
108 const unsigned char *buf,
size_t buflen );
123#if defined(MBEDTLS_FS_IO)
134int mbedtls_x509_crl_parse_file(
mbedtls_x509_crl *chain,
const char *path );
Configuration options (set of defines)
mbedtls_md_type_t
Supported message digests.
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.
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.
void mbedtls_x509_crl_init(mbedtls_x509_crl *crl)
Initialize a CRL (chain)
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.
void mbedtls_x509_crl_free(mbedtls_x509_crl *crl)
Unallocate all CRL data.
mbedtls_pk_type_t
Public key types.
Type-length-value structure that allows for ASN1 using DER.
Container for a sequence or list of 'named' ASN.1 data items.
Certificate revocation list entry.
Certificate revocation list structure.
mbedtls_md_type_t sig_md
Internal representation of the MD algorithm of the signature algorithm, e.g.
mbedtls_x509_name issuer
The parsed issuer data (named information object).
mbedtls_x509_buf sig_oid
CRL signature type identifier.
mbedtls_x509_crl_entry entry
The CRL entries containing the certificate revocation times for this CA.
mbedtls_pk_type_t sig_pk
Internal representation of the Public Key algorithm of the signature algorithm, e....
mbedtls_x509_buf raw
The raw certificate data (DER).
mbedtls_x509_buf issuer_raw
The raw issuer data (DER).
int version
CRL version (1=v1, 2=v2)
mbedtls_x509_buf tbs
The raw certificate body (DER).
void * sig_opts
Signature options to be passed to mbedtls_pk_verify_ext(), e.g.
Container for date and time (precision in seconds).
X.509 generic defines and structures.