pub unsafe extern "C" fn s2n_config_set_ticket_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 used just for decryption of already assigned tickets on the server side. Once decrypted, the session will resume and the server will issue a new session ticket encrypted using a key in encrypt-decrypt state.

@note The default value is 13 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