Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for sessionTicketKeys (0.28 sec)

  1. src/crypto/tls/common.go

    // may be rotated if auto-managed.
    // During rotation, any expired session ticket keys are deleted from
    // c.sessionTicketKeys. If the session ticket key that is currently
    // encrypting tickets (ie. the first ticketKey in c.sessionTicketKeys)
    // is not fresh, then a new session ticket key will be
    // created and prepended to c.sessionTicketKeys.
    func (c *Config) ticketKeys(configForClient *Config) []ticketKey {
    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/handshake_server_test.go

    				config.SessionTicketKey[i] = byte(i)
    			}
    			config.sessionTicketKeys = nil
    		},
    		func(clientHello *ClientHelloInfo) (*Config, error) {
    			config := testConfig.Clone()
    			for i := range config.SessionTicketKey {
    				config.SessionTicketKey[i] = 0
    			}
    			config.sessionTicketKeys = nil
    			return config, nil
    		},
    		"",
    		func(config *Config) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 03 14:56:25 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  3. src/crypto/tls/tls_test.go

    		case "Renegotiation":
    			f.Set(reflect.ValueOf(RenegotiateOnceAsClient))
    		case "EncryptedClientHelloConfigList":
    			f.Set(reflect.ValueOf([]byte{'x'}))
    		case "mutex", "autoSessionTicketKeys", "sessionTicketKeys":
    			continue // these are unexported fields that are handled separately
    		default:
    			t.Errorf("all fields must be accounted for, but saw unknown field %q", fn)
    		}
    	}
    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