Function esp_idf_hal::sys::esp_transport_ssl_set_cert_data

source ยท
pub unsafe extern "C" fn esp_transport_ssl_set_cert_data(
    t: *mut esp_transport_item_t,
    data: *const i8,
    len: i32,
)
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