Function esp_idf_svc::hal::sys::mbedtls_x509_crl_parse
source ยท pub unsafe extern "C" fn mbedtls_x509_crl_parse(
chain: *mut mbedtls_x509_crl,
buf: *const u8,
buflen: usize,
) -> i32
Expand description
\brief Parse one or more CRLs and append them to the chained list
\note Multiple CRLs are accepted only if using PEM format
\note If #MBEDTLS_USE_PSA_CRYPTO is enabled, the PSA crypto subsystem must have been initialized by calling psa_crypto_init() before calling this function.
\param chain points to the start of the chain \param buf buffer holding the CRL data in PEM or DER format \param buflen size of the buffer (including the terminating null byte for PEM data)
\return 0 if successful, or a specific X509 or PEM error code