27 #ifndef POLARSSL_X509_CRL_H 28 #define POLARSSL_X509_CRL_H 30 #if !defined(POLARSSL_CONFIG_FILE) 33 #include POLARSSL_CONFIG_FILE 114 #if defined(POLARSSL_FS_IO) 138 int x509_crl_info(
char *buf,
size_t size,
const char *prefix,
struct _x509_crl_entry x509_crl_entry
Certificate revocation list entry.
void x509_crl_init(x509_crl *crl)
Initialize a CRL (chain)
int version
CRL version (1=v1, 2=v2)
Certificate revocation list entry.
void * sig_opts
Signature options to be passed to pk_verify_ext(), e.g.
Container for date and time (precision in seconds).
Configuration options (set of defines)
x509_name issuer
The parsed issuer data (named information object).
int x509_crl_parse_file(x509_crl *chain, const char *path)
Load one or more CRLs and add them to the chained list.
int x509_crl_parse(x509_crl *chain, const unsigned char *buf, size_t buflen)
Parse one or more CRLs and add them to the chained list.
int x509_crl_info(char *buf, size_t size, const char *prefix, const x509_crl *crl)
Returns an informational string about the CRL.
struct _x509_crl x509_crl
Certificate revocation list structure.
x509_crl_entry entry
The CRL entries containing the certificate revocation times for this CA.
void x509_crl_free(x509_crl *crl)
Unallocate all CRL data.
x509_buf tbs
The raw certificate body (DER).
struct _x509_crl_entry * next
md_type_t sig_md
Internal representation of the MD algorithm of the signature algorithm, e.g.
pk_type_t
Public key types.
X.509 generic defines and structures.
Container for a sequence or list of 'named' ASN.1 data items.
Type-length-value structure that allows for ASN1 using DER.
pk_type_t sig_pk
Internal representation of the Public Key algorithm of the signature algorithm, e.g.
Certificate revocation list structure.
x509_buf raw
The raw certificate data (DER).
x509_time revocation_date
x509_buf issuer_raw
The raw issuer data (DER).