- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for rawCerts (0.26 sec)
-
pkg/spiffe/spiffe.go
func (v *PeerCertVerifier) VerifyPeerCert(rawCerts [][]byte, _ [][]*x509.Certificate) error { if len(rawCerts) == 0 { // Peer doesn't present a certificate. Just skip. Other authn methods may be used. return nil } var peerCert *x509.Certificate intCertPool := x509.NewCertPool() for id, rawCert := range rawCerts { cert, err := x509.ParseCertificate(rawCert) if err != nil { return err }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 11.1K bytes - Viewed (0) -
pkg/istio-agent/agent_test.go
Certificates: []tls.Certificate{cert}, 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) -
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) -
src/cmd/go/internal/modget/query.go
func newQuery(raw string) (*query, error) { pattern, rawVers, found := strings.Cut(raw, "@") if found && (strings.Contains(rawVers, "@") || rawVers == "") { return nil, fmt.Errorf("invalid module version syntax %q", raw) } // If no version suffix is specified, assume @upgrade. // If -u=patch was specified, assume @patch instead. version := rawVers if version == "" { if getU.version == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 27 15:48:25 UTC 2023 - 11.2K bytes - Viewed (0)