ticket is empty when the message is
malformed or not a NewSessionTicket.
Parses a NewSessionTicket handshake message.
Expected layout (RFC 8446 §4.6.1):
msg_type (1) = 4 || length (3) ||
ticket_lifetime (4) || ticket_age_add (4) ||
ticket_nonce (1 + len) || ticket (2 + len) || extensions (2 + len)message | The full handshake message, including the 4-byte header. |
ticket is empty when the message is
malformed or not a NewSessionTicket.