Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for CertificateVerificationError (0.51 sec)

  1. src/crypto/tls/quic_test.go

    		t.Errorf("connection handshake terminated with error %q, want alertBadCertificate", err)
    	}
    	var e *CertificateVerificationError
    	if !errors.As(err, &e) {
    		t.Errorf("connection handshake terminated with error %q, want CertificateVerificationError", err)
    	}
    }
    
    // Test that QUICConn.ConnectionState can be used during the handshake,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/crypto/tls/common.go

    		}
    	}
    	return false
    }
    
    // CertificateVerificationError is returned when certificate verification fails during the handshake.
    type CertificateVerificationError struct {
    	// UnverifiedCertificates and its contents should not be modified.
    	UnverifiedCertificates []*x509.Certificate
    	Err                    error
    }
    
    func (e *CertificateVerificationError) Error() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 59.1K bytes
    - Viewed (0)
  3. src/crypto/tls/handshake_client.go

    				opts.Intermediates.AddCert(cert)
    			}
    			var err error
    			c.verifiedChains, err = certs[0].Verify(opts)
    			if err != nil {
    				c.sendAlert(alertBadCertificate)
    				return &CertificateVerificationError{UnverifiedCertificates: certs, Err: err}
    			}
    		}
    	} else if !c.config.InsecureSkipVerify {
    		opts := x509.VerifyOptions{
    			Roots:         c.config.RootCAs,
    			CurrentTime:   c.config.time(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  4. src/crypto/tls/handshake_server.go

    			} else if errors.As(err, &errCertificateInvalid) && errCertificateInvalid.Reason == x509.Expired {
    				c.sendAlert(alertCertificateExpired)
    			} else {
    				c.sendAlert(alertBadCertificate)
    			}
    			return &CertificateVerificationError{UnverifiedCertificates: certs, Err: err}
    		}
    
    		c.verifiedChains = chains
    	}
    
    	c.peerCertificates = certs
    	c.ocspResponse = certificate.OCSPStaple
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"CertificateRequestInfo.AcceptableCAs", Field, 8},
    		{"CertificateRequestInfo.SignatureSchemes", Field, 8},
    		{"CertificateRequestInfo.Version", Field, 14},
    		{"CertificateVerificationError", Type, 20},
    		{"CertificateVerificationError.Err", Field, 20},
    		{"CertificateVerificationError.UnverifiedCertificates", Field, 20},
    		{"CipherSuite", Type, 14},
    		{"CipherSuite.ID", Field, 14},
    		{"CipherSuite.Insecure", Field, 14},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  6. api/go1.20.txt

    pkg crypto/tls, method (*CertificateVerificationError) Error() string #48152
    pkg crypto/tls, method (*CertificateVerificationError) Unwrap() error #48152
    pkg crypto/tls, type CertificateVerificationError struct #48152
    pkg crypto/tls, type CertificateVerificationError struct, Err error #48152
    pkg crypto/tls, type CertificateVerificationError struct, UnverifiedCertificates []*x509.Certificate #48152
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 21:23:32 UTC 2023
    - 602.6K bytes
    - Viewed (0)
Back to top