22 #ifndef MBEDTLS_X509_CRL_H 23 #define MBEDTLS_X509_CRL_H 25 #if !defined(MBEDTLS_CONFIG_FILE) 28 #include MBEDTLS_CONFIG_FILE 110 const unsigned char *buf,
size_t buflen);
129 #if defined(MBEDTLS_FS_IO)
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
mbedtls_x509_buf issuer_raw
mbedtls_pk_type_t
Public key types.
Configuration options (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.
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.
mbedtls_x509_crl_entry entry
mbedtls_x509_time this_update
void mbedtls_x509_crl_free(mbedtls_x509_crl *crl)
Unallocate all CRL data.
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.
struct mbedtls_x509_crl_entry mbedtls_x509_crl_entry
void mbedtls_x509_crl_init(mbedtls_x509_crl *crl)
Initialize a CRL (chain)
X.509 generic defines and structures.
mbedtls_x509_buf sig_oid2
mbedtls_x509_time revocation_date
struct mbedtls_x509_crl_entry * next
mbedtls_x509_buf entry_ext
mbedtls_md_type_t
Supported message digests.