The session ticket policy used by TLS socket client and server operations. More...
#include <tlssocket.h>
Data Fields | |
| bool | enabled |
| bool | allow_early_data |
| bool | auto_send_server_ticket |
| uint32_t | lifetime_seconds |
| uint32_t | renewal_interval_seconds |
The session ticket policy used by TLS socket client and server operations.
When enabled is false, tickets are not offered by clients, emitted by servers, or exposed through the socket ticket getter. A nonzero renewal_interval_seconds value is accepted only when it is less than lifetime_seconds; renewal scheduling remains caller-managed.
| bool allow_early_data |
Permit early data when the lower TLS layer and peer support it.
| bool auto_send_server_ticket |
Automatically emit a server ticket after a successful server handshake.
| bool enabled |
Enable session ticket handling when true.
| uint32_t lifetime_seconds |
The ticket lifetime hint in seconds.
| uint32_t renewal_interval_seconds |
The ticket renewal interval in seconds for long-lived services.