Type Definition s2n_tls_sys::s2n_psk_mode::Type
source · pub type Type = c_uint;
Expand description
The list of PSK modes supported by s2n-tls for TLS versions >= TLS1.3.
Currently s2n-tls supports two modes - S2N_PSK_MODE_RESUMPTION
, which represents the PSKs established
using the previous connection via session resumption, and S2N_PSK_MODE_EXTERNAL
, which represents PSKs
established out-of-band/externally using a secure mutually agreed upon mechanism.