SEC_SESSION_TICKET structure (ntifs.h)
The SEC_SESSION_TICKET structure is used to represent a session ticket in secure communication protocols. It contains information about the session ticket size and the actual ticket data.
The SessionTicketSize must accurately reflect the number of bytes used in the SessionTicket array to ensure correct processing and interpretation of the ticket data. This structure is typically used in scenarios where maintaining session continuity is important, such as in high-performance applications or environments with frequent secure connections. Proper management of session tickets can enhance both security and performance by minimizing the need for repeated handshakes and reducing latency in secure communications.
Syntax
typedef struct _SEC_SESSION_TICKET {
unsigned short SessionTicketSize;
unsigned char SessionTicket[ANYSIZE_ARRAY];
} SEC_SESSION_TICKET, *PSEC_SESSION_TICKET;
Members
SessionTicketSize
The size, in bytes, of the session ticket contained in the SessionTicket array. This size indicates how much data is stored in the session ticket.
SessionTicket[ANYSIZE_ARRAY]
Array of bytes representing the session ticket. This ticket is used in TLS 1.3 and later versions to resume secure sessions. The array is flexible in size, allowing it to accommodate varying amounts of ticket data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 11, version 24H2 |
Header | ntifs.h |