Skip to main content

esp_transport_ssl_set_ciphersuites_list

Function esp_transport_ssl_set_ciphersuites_list 

Source
pub unsafe extern "C" fn esp_transport_ssl_set_ciphersuites_list(
    t: *mut esp_transport_item_t,
    ciphersuites_list: *const i32,
)
Expand description

@brief Set the SSL cipher suites list

@note This function stores a pointer to the data rather than making a copy. Therefore, the data must remain valid until the connection is cleaned up. The ciphersuites_list is a pointer to a zero-terminated array of IANA identifiers of TLS cipher suites. You can verify the validity of the list using the esp_tls_get_ciphersuites_list() API.

@param t SSL transport @param[in] ciphersuites_list A pointer to a zero-terminated array of IANA identifiers of TLS cipher suites