- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for BasicConstraintsValid (0.26 sec)
-
src/crypto/x509/verify.go
// encryption key could only be used for Diffie-Hellman key agreement. if certType == intermediateCertificate && (!c.BasicConstraintsValid || !c.IsCA) { return CertificateInvalidError{c, NotAuthorizedToSign, ""} } if c.BasicConstraintsValid && c.MaxPathLen >= 0 { numIntermediates := len(currentChain) - 1 if numIntermediates > c.MaxPathLen {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go
} template := &x509.Certificate{ SerialNumber: big.NewInt(0), Subject: pkix.Name{ CommonName: cn, }, IsCA: true, BasicConstraintsValid: true, } cert, err := x509.CreateCertificate(rand.Reader, template, template, pub, priv) if err != nil { t.Fatalf("Error while making certificate: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 15.5K bytes - Viewed (0) -
src/crypto/x509/verify_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 110.2K bytes - Viewed (0) -
pkg/volume/projected/projected_test.go
} template := &x509.Certificate{ SerialNumber: big.NewInt(0), Subject: pkix.Name{ CommonName: cn, }, IsCA: true, BasicConstraintsValid: true, } cert, err := x509.CreateCertificate(rand.Reader, template, template, pub, priv) if err != nil { t.Fatalf("Error while making certificate: %v", err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0) -
src/crypto/x509/parser.go
if err != nil { return err } case 19: out.IsCA, out.MaxPathLen, err = parseBasicConstraintsExtension(e.Value) if err != nil { return err } out.BasicConstraintsValid = true out.MaxPathLenZero = out.MaxPathLen == 0 case 17: out.DNSNames, out.EmailAddresses, out.IPAddresses, out.URIs, err = parseSANExtension(e.Value) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:00:16 UTC 2024 - 38.5K bytes - Viewed (0) -
cmd/test-utils_test.go
NotAfter: notAfter, KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature, ExtKeyUsage: []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth}, BasicConstraintsValid: true, } hosts := strings.Split(host, ",") for _, h := range hosts { if ip := net.ParseIP(h); ip != nil { template.IPAddresses = append(template.IPAddresses, ip) } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:50:49 UTC 2024 - 76.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"CANotAuthorizedForExtKeyUsage", Const, 10}, {"CANotAuthorizedForThisName", Const, 0}, {"CertPool", Type, 0}, {"Certificate", Type, 0}, {"Certificate.AuthorityKeyId", Field, 0}, {"Certificate.BasicConstraintsValid", Field, 0}, {"Certificate.CRLDistributionPoints", Field, 2}, {"Certificate.DNSNames", Field, 0}, {"Certificate.EmailAddresses", Field, 0}, {"Certificate.ExcludedDNSDomains", Field, 9},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)