Function esp_idf_sys::esp_transport_ssl_set_cert_data

source ยท
pub unsafe extern "C" fn esp_transport_ssl_set_cert_data(
    t: esp_transport_handle_t,
    data: *const c_char,
    len: c_int,
)
Expand description

@brief Set SSL certificate data (as PEM format). Note that, this function stores the pointer to data, rather than making a copy. So this data must remain valid until after the connection is cleaned up

@param t ssl transport @param[in] data The pem data @param[in] len The length