Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/crypto/tls/boring_test.go

    		} else {
    			serverConfig.Certificates[0].Certificate = [][]byte{testRSACertificate}
    			serverConfig.Certificates[0].PrivateKey = testRSAPrivateKey
    		}
    		serverConfig.BuildNameToCertificate()
    		t.Run(fmt.Sprintf("suite=%#x", id), func(t *testing.T) {
    			clientHello := &clientHelloMsg{
    				vers:               VersionTLS12,
    				random:             make([]byte, 32),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. src/crypto/tls/conn_test.go

    			},
    			{
    				Certificate: [][]byte{fromHex(certWildcardExampleCom)},
    			},
    			{
    				Certificate: [][]byte{fromHex(certFooExampleCom)},
    			},
    		},
    	}
    
    	config.BuildNameToCertificate()
    
    	pointerToIndex := func(c *Certificate) int {
    		for i := range config.Certificates {
    			if c == &config.Certificates[i] {
    				return i
    			}
    		}
    		return -1
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:35:01 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_test.go

    	testConfig.Certificates[0].PrivateKey = testRSAPrivateKey
    	testConfig.Certificates[1].Certificate = [][]byte{testSNICertificate}
    	testConfig.Certificates[1].PrivateKey = testRSAPrivateKey
    	testConfig.BuildNameToCertificate()
    	if *keyFile != "" {
    		f, err := os.OpenFile(*keyFile, os.O_APPEND|os.O_CREATE|os.O_WRONLY, 0644)
    		if err != nil {
    			panic("failed to open -keylog file: " + err.Error())
    		}
    		testConfig.KeyLogWriter = f
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top