|
wired
libc-free QUIC/HTTP3 SDK in C for x86_64-linux
|
One resumption ticket's plaintext contents (RFC 8446 4.6.1). More...
#include <ticket.h>
Data Fields | |
| u8 | secret [TICKET_SECRET_LEN] |
| resumption master secret | |
| u64 | issued_at |
| server clock at issuance | |
| u32 | lifetime_secs |
| ticket_lifetime (RFC 8446 4.6.1) | |
| u32 | age_add |
| ticket_age_add (RFC 8446 4.6.1), random per ticket | |
| u8 | alpn |
| RFC 8446 4.2.10: the issuing connection's negotiated ALPN (a salpn_choice), so 0-RTT is only accepted under the same protocol; 0 = not recorded. | |
| u8 | ticket_nonce |
| RFC 8446 4.6.1: the ticket_nonce sent with this ticket, kept so the server derives the same PSK when the ticket comes back. | |
| u16 | suite |
| RFC 8446 4.2.10/4.2.11: the issuing connection's cipher suite. | |
One resumption ticket's plaintext contents (RFC 8446 4.6.1).
| u16 ticket::suite |
RFC 8446 4.2.10/4.2.11: the issuing connection's cipher suite.
A resumption must negotiate a suite with the same hash, and 0-RTT the very same suite.