mbedtls_x509_crl_parse() is only used within mbedTLS.
 
Symbols
loading...
Files
loading...

mbedtls_x509_crl_parse() function

Parse one or more CRLs and append them to the chained list

Syntax

int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain,     const unsigned char *buf,     size_t buflen );

Arguments

chain

points to the start of the chain

buf

buffer holding the CRL data in PEM or DER format

buflen

size of the buffer (including the terminating null byte for PEM data)

Return value

0 if successful, or a specific X509 or PEM error code

Notes

Mutliple CRLs are accepted only if using PEM format

References

LocationText
x509_crl.h:123
int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen );