Function esp_idf_svc::hal::sys::mbedtls_x509_crl_parse_file

source ยท
pub unsafe extern "C" fn mbedtls_x509_crl_parse_file(
    chain: *mut mbedtls_x509_crl,
    path: *const i8,
) -> i32
Expand description

\brief Load 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 path filename to read the CRLs from (in PEM or DER encoding)

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