Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ResumptionState (0.16 sec)

  1. src/crypto/tls/ticket.go

    type ClientSessionState struct {
    	session *SessionState
    }
    
    // ResumptionState returns the session ticket sent by the server (also known as
    // the session's identity) and the state necessary to resume this session.
    //
    // It can be called by [ClientSessionCache.Put] to serialize (with
    // [SessionState.Bytes]) and store the session.
    func (cs *ClientSessionState) ResumptionState() (ticket []byte, state *SessionState, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. api/go1.21.txt

    pkg crypto/tls, func QUICServer(*QUICConfig) *QUICConn #44886
    pkg crypto/tls, func VersionName(uint16) string #46308
    pkg crypto/tls, method (AlertError) Error() string #44886
    pkg crypto/tls, method (*ClientSessionState) ResumptionState() ([]uint8, *SessionState, error) #60105
    pkg crypto/tls, method (*Config) DecryptTicket([]uint8, ConnectionState) (*SessionState, error) #60105
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client_test.go

    	return cs, true
    }
    
    func (c *serializingClientCache) Put(sessionKey string, cs *ClientSessionState) {
    	if cs == nil {
    		c.ticket, c.state = nil, nil
    		return
    	}
    	ticket, state, err := cs.ResumptionState()
    	if err != nil {
    		c.t.Error(err)
    		return
    	}
    	stateBytes, err := state.Bytes()
    	if err != nil {
    		c.t.Error(err)
    		return
    	}
    	c.ticket, c.state = ticket, stateBytes
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(*CertificateVerificationError).Unwrap", Method, 20},
    		{"(*ClientHelloInfo).Context", Method, 17},
    		{"(*ClientHelloInfo).SupportsCertificate", Method, 14},
    		{"(*ClientSessionState).ResumptionState", Method, 21},
    		{"(*Config).BuildNameToCertificate", Method, 0},
    		{"(*Config).Clone", Method, 8},
    		{"(*Config).DecryptTicket", Method, 21},
    		{"(*Config).EncryptTicket", Method, 21},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top