Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for UnknownAuthorityError (0.37 sec)

  1. src/crypto/x509/root_windows.go

    			return CertificateInvalidError{c, Expired, ""}
    		case syscall.CERT_E_CN_NO_MATCH:
    			return HostnameError{c, opts.DNSName}
    		case syscall.CERT_E_UNTRUSTEDROOT:
    			return UnknownAuthorityError{c, nil, nil}
    		default:
    			return UnknownAuthorityError{c, nil, nil}
    		}
    	}
    
    	return nil
    }
    
    // windowsExtKeyUsageOIDs are the C NUL-terminated string representations of the
    // OIDs for use with the Windows API.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:41:40 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/x509metrics/server_cert_deprecations.go

    // and the client reports an InsecureAlgorithmError about a SHA1 signature
    func (c *sha1SignatureChecker) CheckRoundTripError(err error) bool {
    	var unknownAuthorityError x509.UnknownAuthorityError
    	if err == nil {
    		return false
    	}
    	if !errors.As(err, &unknownAuthorityError) {
    		return false
    	}
    
    	errMsg := err.Error()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7.3K bytes
    - Viewed (0)
  3. src/crypto/x509/root_darwin.go

    			return nil, CertificateInvalidError{c, Expired, err.Error()}
    		case macOS.ErrSecHostNameMismatch:
    			return nil, HostnameError{c, opts.DNSName}
    		case macOS.ErrSecNotTrusted:
    			return nil, UnknownAuthorityError{Cert: c}
    		default:
    			return nil, fmt.Errorf("x509: %s", err)
    		}
    	}
    
    	chain := [][]*Certificate{{}}
    	numCerts := macOS.SecTrustGetCertificateCount(trustObj)
    	for i := 0; i < numCerts; i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 01 00:36:38 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. src/crypto/x509/verify_test.go

    		t.Fatalf("error was not IncompatibleUsage: %v", err)
    	}
    }
    
    func expectAuthorityUnknown(t *testing.T, err error) {
    	e, ok := err.(UnknownAuthorityError)
    	if !ok {
    		t.Fatalf("error was not UnknownAuthorityError: %v", err)
    	}
    	if e.Cert == nil {
    		t.Fatalf("error was UnknownAuthorityError, but missing Cert: %v", err)
    	}
    }
    
    func expectHashError(t *testing.T, err error) {
    	if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 110.2K bytes
    - Viewed (0)
  5. src/crypto/x509/verify.go

    		return "x509: certificate is not valid for any names, but wanted to match " + h.Host
    	}
    	return "x509: certificate is valid for " + valid + ", not " + h.Host
    }
    
    // UnknownAuthorityError results when the certificate issuer is unknown
    type UnknownAuthorityError struct {
    	Cert *Certificate
    	// hintErr contains an error that may be helpful in determining why an
    	// authority wasn't found.
    	hintErr error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. api/go1.8.txt

    pkg crypto/x509, const SHA384WithRSAPSS SignatureAlgorithm
    pkg crypto/x509, const SHA512WithRSAPSS = 15
    pkg crypto/x509, const SHA512WithRSAPSS SignatureAlgorithm
    pkg crypto/x509, type UnknownAuthorityError struct, Cert *Certificate
    pkg database/sql, const LevelDefault = 0
    pkg database/sql, const LevelDefault IsolationLevel
    pkg database/sql, const LevelLinearizable = 7
    pkg database/sql, const LevelLinearizable IsolationLevel
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  7. src/crypto/tls/handshake_server.go

    			opts.Intermediates.AddCert(cert)
    		}
    
    		chains, err := certs[0].Verify(opts)
    		if err != nil {
    			var errCertificateInvalid x509.CertificateInvalidError
    			if errors.As(err, &x509.UnknownAuthorityError{}) {
    				c.sendAlert(alertUnknownCA)
    			} else if errors.As(err, &errCertificateInvalid) && errCertificateInvalid.Reason == x509.Expired {
    				c.sendAlert(alertCertificateExpired)
    			} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:30:50 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"TooManyConstraints", Const, 10},
    		{"TooManyIntermediates", Const, 0},
    		{"UnconstrainedName", Const, 10},
    		{"UnhandledCriticalExtension", Type, 0},
    		{"UnknownAuthorityError", Type, 0},
    		{"UnknownAuthorityError.Cert", Field, 8},
    		{"UnknownPublicKeyAlgorithm", Const, 0},
    		{"UnknownSignatureAlgorithm", Const, 0},
    		{"VerifyOptions", Type, 0},
    		{"VerifyOptions.CurrentTime", Field, 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)
  9. CHANGELOG/CHANGELOG-1.29.md

    - Fixed an issue where the `vsphere` cloud provider would not trust a certificate if:
      - The issuer of the certificate was unknown (`x509.UnknownAuthorityError`)
      - The requested name did not match the set of authorized names (`x509.HostnameError`)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.25.md

    - Fixes an issue where the vsphere cloud provider will not trust a certificate if:
      - The issuer of the certificate is unknown (x509.UnknownAuthorityError)
      - The requested name does not match the set of authorized names (x509.HostnameError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 09:23:20 UTC 2024
    - 419.1K bytes
    - Viewed (0)
Back to top