24 #ifndef MBEDTLS_X509_CRL_H 25 #define MBEDTLS_X509_CRL_H 27 #if !defined(MBEDTLS_CONFIG_FILE) 30 #include MBEDTLS_CONFIG_FILE 110 const unsigned char *buf,
size_t buflen );
125 #if defined(MBEDTLS_FS_IO) 136 int mbedtls_x509_crl_parse_file(
mbedtls_x509_crl *chain,
const char *path );
Definition: x509_crl.h:52
int version
Definition: x509_crl.h:75
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.
Definition: x509_crl.h:70
struct mbedtls_x509_crl mbedtls_x509_crl
mbedtls_x509_buf serial
Definition: x509_crl.h:56
mbedtls_x509_buf issuer_raw
Definition: x509_crl.h:78
mbedtls_pk_type_t
Public key types.
Definition: pk.h:78
Configuration options (set of defines)
struct mbedtls_x509_crl * next
Definition: x509_crl.h:95
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_buf sig
Definition: x509_crl.h:90
mbedtls_x509_name issuer
Definition: x509_crl.h:80
mbedtls_x509_crl_entry entry
Definition: x509_crl.h:85
mbedtls_md_type_t sig_md
Definition: x509_crl.h:91
mbedtls_x509_time this_update
Definition: x509_crl.h:82
void mbedtls_x509_crl_free(mbedtls_x509_crl *crl)
Unallocate all CRL data.
mbedtls_x509_buf raw
Definition: x509_crl.h:54
mbedtls_x509_time next_update
Definition: x509_crl.h:83
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
Definition: x509_crl.h:72
struct mbedtls_x509_crl_entry mbedtls_x509_crl_entry
void * sig_opts
Definition: x509_crl.h:93
void mbedtls_x509_crl_init(mbedtls_x509_crl *crl)
Initialize a CRL (chain)
X.509 generic defines and structures.
mbedtls_x509_buf sig_oid
Definition: x509_crl.h:76
mbedtls_x509_buf tbs
Definition: x509_crl.h:73
mbedtls_x509_buf sig_oid2
Definition: x509_crl.h:89
mbedtls_pk_type_t sig_pk
Definition: x509_crl.h:92
mbedtls_x509_buf crl_ext
Definition: x509_crl.h:87
mbedtls_x509_time revocation_date
Definition: x509_crl.h:58
struct mbedtls_x509_crl_entry * next
Definition: x509_crl.h:62
mbedtls_x509_buf entry_ext
Definition: x509_crl.h:60
mbedtls_md_type_t
Supported message digests.
Definition: md.h:58