Function s2n_quic::provider::tls::default::ffi::s2n_config_set_ticket_encrypt_decrypt_key_lifetime
source · pub unsafe extern "C" fn s2n_config_set_ticket_encrypt_decrypt_key_lifetime(
config: *mut s2n_config,
lifetime_in_secs: u64
) -> i32
Expand description
Sets how long a session ticket key will be in a state where it can be used for both encryption and decryption of tickets on the server side.
@note The default value is 2 hours. @param config The configuration object being updated @param lifetime_in_secs The desired lifetime of decrypting and encrypting tickets in seconds @returns S2N_SUCCESS on success. S2N_FAILURE on failure