or null if session resumption is not enabled.
Dtls13Server.buildNewSessionTicket
ubyte[] buildNewSessionTicket(DtlsTicketKeyManager ticketKeyMgr)Builds a NewSessionTicket message for session resumption.
Derives the resumption PSK from the key schedule, encrypts it into a ticket using the ticket key manager, and builds the NewSessionTicket handshake message.
Parameters
ticketKeyMgr | Ticket encryption key manager. |
Returns
The serialized NewSessionTicket with DTLS handshake header,