Lines Matching defs:sessionState
21 type sessionState struct { struct
22 vers uint16
23 cipherSuite uint16
24 masterSecret []byte
25 handshakeHash []byte
26 certificates [][]byte
27 extendedMasterSecret bool
28 earlyALPN []byte
29 ticketCreationTime time.Time
30 ticketExpiration time.Time
31 ticketFlags uint32
32 ticketAgeAdd uint32
35 func (s *sessionState) marshal() []byte {
68 func (s *sessionState) unmarshal(data []byte) bool {
160 func (c *Conn) encryptTicket(state *sessionState) ([]byte, error) {