Function esp_idf_hal::sys::mbedtls_ssl_conf_ca_chain
source ยท pub unsafe extern "C" fn mbedtls_ssl_conf_ca_chain(
conf: *mut mbedtls_ssl_config,
ca_chain: *mut mbedtls_x509_crt,
ca_crl: *mut mbedtls_x509_crl,
)
Expand description
\brief Set the data required to verify peer certificate
\note See \c mbedtls_x509_crt_verify() for notes regarding the parameters ca_chain (maps to trust_ca for that function) and ca_crl.
\param conf SSL configuration \param ca_chain trusted CA chain (meaning all fully trusted top-level CAs) \param ca_crl trusted CA CRLs