Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for rawCerts (0.1 sec)

  1. src/crypto/tls/handshake_client_test.go

    	sentinelErr := errors.New("TestVerifyPeerCertificate")
    
    	verifyPeerCertificateCallback := func(called *bool, rawCerts [][]byte, validatedChains [][]*x509.Certificate) error {
    		if l := len(rawCerts); l != 1 {
    			return fmt.Errorf("got len(rawCerts) = %d, wanted 1", l)
    		}
    		if len(validatedChains) == 0 {
    			return errors.New("got len(validatedChains) = 0, wanted non-zero")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  2. src/crypto/tls/tls_test.go

    			}
    			clientConfig.VerifyPeerCertificate = func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error {
    				clientVerifyPeerCertificates = true
    				return nil
    			}
    			serverConfig.VerifyConnection = func(cs ConnectionState) error {
    				serverVerifyConnection = true
    				return nil
    			}
    			serverConfig.VerifyPeerCertificate = func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 60.5K bytes
    - Viewed (0)
  3. src/crypto/tls/common.go

    	// rawCerts may be empty on the server if ClientAuth is RequestClientCert or
    	// VerifyClientCertIfGiven.
    	//
    	// This callback is not invoked on resumed connections, as certificates are
    	// not re-verified on resumption.
    	//
    	// verifiedChains and its contents should not be modified.
    	VerifyPeerCertificate func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error
    
    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