Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for certRoot (0.07 sec)

  1. cmd/test-utils_test.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("Failed to create certificate: %w", err)
    	}
    
    	certOut := bytes.NewBuffer([]byte{})
    	pem.Encode(certOut, &pem.Block{Type: "CERTIFICATE", Bytes: derBytes})
    
    	keyOut := bytes.NewBuffer([]byte{})
    	pem.Encode(keyOut, pemBlockForKey(priv))
    
    	return certOut.Bytes(), keyOut.Bytes(), nil
    }
    
    func mustGetPoolEndpoints(poolIdx int, args ...string) EndpointServerPools {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    	// RootCAs defines the set of root certificate authorities
    	// that clients use when verifying server certificates.
    	// If RootCAs is nil, TLS uses the host's root CA set.
    	RootCAs *x509.CertPool
    
    	// NextProtos is a list of supported application level protocols, in
    	// order of preference. If both peers support ALPN, the selected
    	// protocol will be one from this list, and the connection will fail
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
Back to top