- Sort Score
- Result 10 results
- Languages All
Results 31 - 38 of 38 for VerifyOptions (0.41 sec)
-
security/pkg/pki/util/generate_cert_test.go
t.Errorf("incorrect IDs encoded: %v, %v VS (expected) %v, %v", ids[0], ids[1], c.subjectIDs[0], c.subjectIDs[1]) } } pool := x509.NewCertPool() pool.AddCert(signingCert) vo := x509.VerifyOptions{ Roots: pool, } if _, err := out.Verify(vo); err != nil { t.Errorf("verification of the signed certificate failed %v", err) } } } func TestLoadSignerCredsFromFiles(t *testing.T) {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Nov 06 12:48:53 UTC 2023 - 29.4K bytes - Viewed (0) -
src/crypto/tls/handshake_server.go
} else { c.sendAlert(alertBadCertificate) } return errors.New("tls: client didn't provide a certificate") } if c.config.ClientAuth >= VerifyClientCertIfGiven && len(certs) > 0 { opts := x509.VerifyOptions{ Roots: c.config.ClientCAs, CurrentTime: c.config.time(), Intermediates: x509.NewCertPool(), KeyUsages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:30:50 UTC 2024 - 27.6K bytes - Viewed (0) -
api/go1.10.txt
pkg crypto/x509, type Certificate struct, URIs []*url.URL pkg crypto/x509, type CertificateInvalidError struct, Detail string pkg crypto/x509, type CertificateRequest struct, URIs []*url.URL pkg crypto/x509, type VerifyOptions struct, MaxConstraintComparisions int pkg crypto/x509/pkix, method (Name) String() string pkg crypto/x509/pkix, method (RDNSequence) String() string pkg database/sql, func OpenDB(driver.Connector) *DB
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 06 05:00:01 UTC 2018 - 30.1K bytes - Viewed (0) -
cmd/sts-handlers.go
return } certificate := r.TLS.PeerCertificates[0] if !globalIAMSys.STSTLSConfig.InsecureSkipVerify { // Verify whether the client certificate has been issued by a trusted CA. _, err := certificate.Verify(x509.VerifyOptions{ KeyUsages: []x509.ExtKeyUsage{ x509.ExtKeyUsageClientAuth, }, Roots: globalRootCAs, }) if err != nil { writeSTSErrorResponse(ctx, w, ErrSTSInvalidClientCertificate, err) return
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 33.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"UnknownSignatureAlgorithm", Const, 0}, {"VerifyOptions", Type, 0}, {"VerifyOptions.CurrentTime", Field, 0}, {"VerifyOptions.DNSName", Field, 0}, {"VerifyOptions.Intermediates", Field, 0}, {"VerifyOptions.KeyUsages", Field, 1}, {"VerifyOptions.MaxConstraintComparisions", Field, 10}, {"VerifyOptions.Roots", Field, 0}, }, "crypto/x509/pkix": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
src/crypto/x509/x509_test.go
t.Errorf("#%d: calculated bit-length of %d for %x, wanted %d", i, got, test.bytes, test.bitLen) } } } func TestVerifyEmptyCertificate(t *testing.T) { if _, err := new(Certificate).Verify(VerifyOptions{}); err != errNotParsed { t.Errorf("Verifying empty certificate resulted in unexpected error: %q (wanted %q)", err, errNotParsed) } } func TestInsecureAlgorithmErrorString(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 163.4K bytes - Viewed (0) -
api/go1.txt
pkg crypto/x509, type UnknownAuthorityError struct pkg crypto/x509, type VerifyOptions struct pkg crypto/x509, type VerifyOptions struct, CurrentTime time.Time pkg crypto/x509, type VerifyOptions struct, DNSName string pkg crypto/x509, type VerifyOptions struct, Intermediates *CertPool pkg crypto/x509, type VerifyOptions struct, Roots *CertPool pkg crypto/x509, var ErrUnsupportedAlgorithm error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg crypto/x509, method (SystemRootsError) Error() string pkg crypto/x509, type Certificate struct, IPAddresses []net.IP pkg crypto/x509, type PEMCipher int pkg crypto/x509, type SystemRootsError struct pkg crypto/x509, type VerifyOptions struct, KeyUsages []ExtKeyUsage pkg crypto/x509, var IncorrectPasswordError error pkg database/sql, method (*DB) Ping() error pkg database/sql, method (*DB) SetMaxIdleConns(int)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)