Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for IsCA (0.03 sec)

  1. src/crypto/x509/x509.go

    	UnknownExtKeyUsage []asn1.ObjectIdentifier // Encountered extended key usages unknown to this package.
    
    	// BasicConstraintsValid indicates whether IsCA, MaxPathLen,
    	// and MaxPathLenZero are valid.
    	BasicConstraintsValid bool
    	IsCA                  bool
    
    	// MaxPathLen and MaxPathLenZero indicate the presence and
    	// value of the BasicConstraints' "pathLenConstraint".
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  2. pkg/apis/certificates/validation/validation_test.go

    		SerialNumber: big.NewInt(0),
    		Subject: pkix.Name{
    			CommonName: "root1",
    		},
    		IsCA:                  true,
    		BasicConstraintsValid: true,
    	})
    
    	goodCert2 := mustMakeCertificate(t, &x509.Certificate{
    		SerialNumber: big.NewInt(0),
    		Subject: pkix.Name{
    			CommonName: "root2",
    		},
    		IsCA:                  true,
    		BasicConstraintsValid: true,
    	})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    		if ip := net.ParseIP(h); ip != nil {
    			template.IPAddresses = append(template.IPAddresses, ip)
    		} else {
    			template.DNSNames = append(template.DNSNames, h)
    		}
    	}
    
    	template.IsCA = true
    	template.KeyUsage |= x509.KeyUsageCertSign
    
    	derBytes, err := x509.CreateCertificate(crand.Reader, &template, &template, publicKey(priv), priv)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
Back to top