pub unsafe extern "C" fn mbedtls_x509_crl_parse(
    chain: *mut mbedtls_x509_crl,
    buf: *const c_uchar,
    buflen: usize
) -> c_int
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