Function esp_idf_svc::hal::sys::esp_eap_client_set_ca_cert
source ยท pub unsafe extern "C" fn esp_eap_client_set_ca_cert(
ca_cert: *const u8,
ca_cert_len: i32,
) -> i32
Expand description
@brief Set CA certificate for EAP authentication.
This function sets the Certificate Authority (CA) certificate to be used during EAP authentication. The CA certificate is passed to the EAP client module through a global pointer.
@param[in] ca_cert Pointer to the CA certificate data. @param[in] ca_cert_len Length of the CA certificate data.
@return
- ESP_OK: The CA certificate was set successfully.