Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for WrapSession (0.11 sec)

  1. src/crypto/tls/ticket.go

    	//       };
    	//   } SessionState;
    	//
    
    	// Extra is ignored by crypto/tls, but is encoded by [SessionState.Bytes]
    	// and parsed by [ParseSessionState].
    	//
    	// This allows [Config.UnwrapSession]/[Config.WrapSession] and
    	// [ClientSessionCache] implementations to store and retrieve additional
    	// data alongside this session.
    	//
    	// To allow different layers in a protocol stack to share this field,
    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. src/crypto/tls/handshake_server.go

    	if hs.sessionState != nil {
    		// If this is re-wrapping an old key, then keep
    		// the original time it was created.
    		state.createdAt = hs.sessionState.createdAt
    	}
    	if c.config.WrapSession != nil {
    		var err error
    		m.ticket, err = c.config.WrapSession(c.connectionStateLocked(), state)
    		if err != nil {
    			return err
    		}
    	} else {
    		stateBytes, err := state.Bytes()
    		if err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_tls13.go

    	m := new(newSessionTicketMsgTLS13)
    
    	state := c.sessionState()
    	state.secret = psk
    	state.EarlyData = earlyData
    	state.Extra = extra
    	if c.config.WrapSession != nil {
    		var err error
    		m.label, err = c.config.WrapSession(c.connectionStateLocked(), state)
    		if err != nil {
    			return err
    		}
    	} else {
    		stateBytes, err := state.Bytes()
    		if err != nil {
    			c.sendAlert(alertInternalError)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. api/go1.21.txt

    pkg crypto/tls, type AlertError uint8 #44886
    pkg crypto/tls, type Config struct, UnwrapSession func([]uint8, ConnectionState) (*SessionState, error) #60105
    pkg crypto/tls, type Config struct, WrapSession func(ConnectionState, *SessionState) ([]uint8, error) #60105
    pkg crypto/tls, type QUICConfig struct #44886
    pkg crypto/tls, type QUICConfig struct, TLSConfig *Config #44886
    pkg crypto/tls, type QUICConn struct #44886
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 07 09:39:17 UTC 2023
    - 25.6K bytes
    - Viewed (0)
Back to top