pub unsafe extern "C" fn esp_eap_client_set_ca_cert(
    ca_cert: *const c_uchar,
    ca_cert_len: c_int
) -> esp_err_t
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.