Function s2n_tls_sys::s2n_config_set_cipher_preferences

source ·
pub unsafe extern "C" fn s2n_config_set_cipher_preferences(
    config: *mut s2n_config,
    version: *const c_char
) -> c_int
Expand description

Sets the security policy that includes the cipher/kem/signature/ecc preferences and protocol version.

See the USAGE-GUIDE.md for how to use security policies.