Function esp_idf_svc::sys::mbedtls_x509_crt_get_ca_istrue
source ยท pub unsafe extern "C" fn mbedtls_x509_crt_get_ca_istrue(
crt: *const mbedtls_x509_crt,
) -> i32
Expand description
\brief Access the ca_istrue field
\param[in] crt Certificate to be queried, must not be \c NULL
\return \c 1 if this a CA certificate \c 0 otherwise. \return MBEDTLS_ERR_X509_INVALID_EXTENSIONS if the certificate does not contain the Optional Basic Constraint extension.