sessionStateTLS13 is the content of a TLS 1.3 session ticket. Its first version (revision = 0) doesn't carry any of the information needed for 0-RTT validation and the nonce is always empty.
| 78 | // version (revision = 0) doesn't carry any of the information needed for 0-RTT |
| 79 | // validation and the nonce is always empty. |
| 80 | type sessionStateTLS13 struct { |
| 81 | // uint8 version = 0x0304; |
| 82 | // uint8 revision = 0; |
| 83 | cipherSuite uint16 |
| 84 | createdAt uint64 |
| 85 | resumptionSecret []byte // opaque resumption_master_secret<1..2^8-1>; |
| 86 | certificate Certificate // CertificateEntry certificate_list<0..2^24-1>; |
| 87 | } |
| 88 | |
| 89 | func (m *sessionStateTLS13) marshal() []byte { |
| 90 | var b cryptobyte.Builder |
nothing calls this directly
no outgoing calls
no test coverage detected