pub unsafe extern "C" fn s2n_connection_set_server_keying_material_lifetime(
conn: *mut s2n_connection,
lifetime_in_secs: u32
) -> c_int
Expand description
Sets the keying material lifetime for >=TLS1.3 session tickets so that one session doesn’t get re-used ad infinitum. The default value is one week.
@param conn A pointer to the connection object. @param lifetime_in_secs Lifetime of keying material in seconds. @returns S2N_SUCCESS on success. S2N_FAILURE on failure