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)
Configuration options (set of defines)
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.
struct mbedtls_x509_crl mbedtls_x509_crl
void mbedtls_x509_crl_init(mbedtls_x509_crl *crl)
Initialize a CRL (chain)
int mbedtls_x509_crl_parse_file(mbedtls_x509_crl *chain, const char *path)
Load one or more CRLs and append them to the chained list.
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.
struct mbedtls_x509_crl_entry mbedtls_x509_crl_entry
mbedtls_md_type_t
Supported message digests.
mbedtls_pk_type_t
Public key types.
mbedtls_x509_buf entry_ext
mbedtls_x509_time revocation_date
struct mbedtls_x509_crl_entry * next
mbedtls_x509_buf issuer_raw
mbedtls_x509_time this_update
struct mbedtls_x509_crl * next
mbedtls_x509_time next_update
mbedtls_x509_crl_entry entry
mbedtls_x509_buf sig_oid2
X.509 generic defines and structures.