- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ParseSessionState (0.14 sec)
-
src/crypto/tls/common.go
// // UnwrapSession will usually either decrypt a session state in the ticket // (for example with [Config.EncryptTicket]), or use the ticket as a handle // to recover a previously stored state. It must use [ParseSessionState] to // deserialize the session state. // // If UnwrapSession returns an error, the connection is terminated. If it // returns (nil, nil), the session is ignored. crypto/tls may still choose
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 59.1K bytes - Viewed (0) -
src/crypto/tls/handshake_client_test.go
ticket, state []byte } func (c *serializingClientCache) Get(sessionKey string) (session *ClientSessionState, ok bool) { if c.ticket == nil { return nil, false } state, err := ParseSessionState(c.state) if err != nil { c.t.Error(err) return nil, false } cs, err := NewResumptionState(c.ticket, state) if err != nil { c.t.Error(err) return nil, false }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:10:12 UTC 2024 - 88.7K bytes - Viewed (0)