2 #ifndef SSP21_CRYPTOLAYERCONFIG_H 3 #define SSP21_CRYPTOLAYERCONFIG_H 7 #include "ssp21/crypto/Constants.h" 16 explicit SessionConfig(uint32_t ttl_pad_ms) : ttl_pad_ms(ttl_pad_ms) {}
19 uint32_t ttl_pad_ms = consts::crypto::default_ttl_pad_ms;
49 exe4cpp::duration_t
response_timeout = consts::crypto::initiator::default_response_timeout;
52 exe4cpp::duration_t
retry_timeout = consts::crypto::initiator::default_retry_timeout;
SSP21-cpp main namespace.
uint16_t nonce_renegotiation_trigger_value
The initiator will begin renegotiating when either nonce value reaches this trigger level.
exe4cpp::duration_t response_timeout
How long the initiator will will for responses.
uint32_t max_session_time_ms
The maximum session time that the initiator will request in the handshake.
uint16_t max_nonce_value
The maximum tx or rx nonce value that the initiator will request in the handshake.
const uint16_t max_config_payload_size
uint32_t session_time_renegotiation_trigger_ms
The initiator will begin renegotiating when the session time reaches this value.
exe4cpp::duration_t retry_timeout
How long the initiator will wait before retrying a failed timeout.