Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WrapSession (0.21 sec)

  1. src/crypto/tls/common.go

    	// WrapSession is called on the server to produce a session ticket/identity.
    	//
    	// WrapSession must serialize the session state with [SessionState.Bytes].
    	// It may then encrypt the serialized state (for example with
    	// [Config.DecryptTicket]) and use it as the ticket, or store the state and
    	// return a handle for it.
    	//
    	// If WrapSession returns an error, the connection is terminated.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  2. src/crypto/tls/tls_test.go

    			called |= 1 << 5
    			return nil
    		},
    		UnwrapSession: func(identity []byte, cs ConnectionState) (*SessionState, error) {
    			called |= 1 << 6
    			return nil, nil
    		},
    		WrapSession: func(cs ConnectionState, ss *SessionState) ([]byte, error) {
    			called |= 1 << 7
    			return nil, nil
    		},
    		EncryptedClientHelloRejectionVerify: func(ConnectionState) error {
    			called |= 1 << 8
    			return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
Back to top