Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for VerifiedChains (0.31 sec)

  1. src/crypto/tls/example_test.go

    			}
    			_, err := cs.PeerCertificates[0].Verify(opts)
    			return err
    		},
    	}
    
    	// Note that when certificates are not handled by the default verifier
    	// ConnectionState.VerifiedChains will be nil.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. src/crypto/tls/conn.go

    	// activeCertHandles contains the cache handles to certificates in
    	// peerCertificates that are used to track active references.
    	activeCertHandles []*activeCert
    	// verifiedChains contains the certificate chains that we built, as
    	// opposed to the ones presented by the server.
    	verifiedChains [][]*x509.Certificate
    	// serverName contains the server name indicated by the client, if any.
    	serverName string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_server_tls13.go

    		}
    
    		c.didResume = true
    		c.peerCertificates = sessionState.peerCertificates
    		c.ocspResponse = sessionState.ocspResponse
    		c.scts = sessionState.scts
    		c.verifiedChains = sessionState.verifiedChains
    
    		hs.hello.selectedIdentityPresent = true
    		hs.hello.selectedIdentity = uint16(i)
    		hs.usingPSK = true
    		return nil
    	}
    
    	return nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  4. src/crypto/tls/common.go

    	// the server side, it's set if Config.ClientAuth is VerifyClientCertIfGiven
    	// (and the peer provided a certificate) or RequireAndVerifyClientCert.
    	//
    	// VerifiedChains and its contents should not be modified.
    	VerifiedChains [][]*x509.Certificate
    
    	// SignedCertificateTimestamps is a list of SCTs provided by the peer
    	// through the TLS handshake for the leaf certificate, if any.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  5. security/pkg/server/ca/server_test.go

    	for id, c := range testCerts {
    		request := &pb.IstioCertificateRequest{Csr: "dumb CSR"}
    		ctx := context.Background()
    		if c.certChain != nil {
    			tlsInfo := credentials.TLSInfo{
    				State: tls.ConnectionState{VerifiedChains: c.certChain},
    			}
    			p := &peer.Peer{Addr: c.ipAddr, AuthInfo: tlsInfo}
    			ctx = peer.NewContext(ctx, p)
    		}
    		if c.fakeAuthInfo != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. src/crypto/tls/handshake_client_tls13.go

    	}
    
    	hs.usingPSK = true
    	c.didResume = true
    	c.peerCertificates = hs.session.peerCertificates
    	c.activeCertHandles = hs.session.activeCertHandles
    	c.verifiedChains = hs.session.verifiedChains
    	c.ocspResponse = hs.session.ocspResponse
    	c.scts = hs.session.scts
    	return nil
    }
    
    func (hs *clientHandshakeStateTLS13) establishHandshakeKeys() error {
    	c := hs.c
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. pkg/istio-agent/agent_test.go

    		ClientAuth:   tls.VerifyClientCertIfGiven,
    		ClientCAs:    peerCertVerifier.GetGeneralCertPool(),
    		VerifyPeerCertificate: func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error {
    			err := peerCertVerifier.VerifyPeerCert(rawCerts, verifiedChains)
    			if err != nil {
    				log.Infof("Could not verify certificate: %v", err)
    			}
    			return err
    		},
    		MinVersion: tls.VersionTLS12,
    	}))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/server.go

    		ClientAuth:     tls.VerifyClientCertIfGiven,
    		ClientCAs:      peerCertVerifier.GetGeneralCertPool(),
    		VerifyPeerCertificate: func(rawCerts [][]byte, verifiedChains [][]*x509.Certificate) error {
    			err := peerCertVerifier.VerifyPeerCert(rawCerts, verifiedChains)
    			if err != nil {
    				log.Infof("Could not verify certificate: %v", err)
    			}
    			return err
    		},
    		MinVersion:   tls.VersionTLS12,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 46.3K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ConnectionState.PeerCertificates", Field, 0},
    		{"ConnectionState.ServerName", Field, 0},
    		{"ConnectionState.SignedCertificateTimestamps", Field, 5},
    		{"ConnectionState.TLSUnique", Field, 4},
    		{"ConnectionState.VerifiedChains", Field, 0},
    		{"ConnectionState.Version", Field, 3},
    		{"CurveID", Type, 3},
    		{"CurveP256", Const, 3},
    		{"CurveP384", Const, 3},
    		{"CurveP521", Const, 3},
    		{"Dial", Func, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg crypto/tls, type ConnectionState struct, PeerCertificates []*x509.Certificate
    pkg crypto/tls, type ConnectionState struct, ServerName string
    pkg crypto/tls, type ConnectionState struct, VerifiedChains [][]*x509.Certificate
    pkg crypto/x509, const CANotAuthorizedForThisName InvalidReason
    pkg crypto/x509, const DSA PublicKeyAlgorithm
    pkg crypto/x509, const DSAWithSHA1 SignatureAlgorithm
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top