Function esp_idf_svc::hal::sys::mbedtls_x509_crl_parse_der

source ยท
pub unsafe extern "C" fn mbedtls_x509_crl_parse_der(
    chain: *mut mbedtls_x509_crl,
    buf: *const u8,
    buflen: usize,
) -> i32
Expand description

\brief Parse a DER-encoded CRL and append it to the chained list

\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 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