Function esp_idf_sys::mbedtls_ssl_set_hs_ca_chain

source ยท
pub unsafe extern "C" fn mbedtls_ssl_set_hs_ca_chain(
    ssl: *mut mbedtls_ssl_context,
    ca_chain: *mut mbedtls_x509_crt,
    ca_crl: *mut mbedtls_x509_crl,
)
Expand description

\brief Set the data required to verify peer certificate for the current handshake

\note Same as \c mbedtls_ssl_conf_ca_chain() but for use within the SNI callback or the certificate selection callback.

\param ssl SSL context \param ca_chain trusted CA chain (meaning all fully trusted top-level CAs) \param ca_crl trusted CA CRLs