Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 101 for common_name (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

            .serialNumber(1L)
            .certificateAuthority(1)
            .commonName("root")
            .addSubjectAlternativeName("root_ca.com")
            .build()
        serverIntermediateCa =
          HeldCertificate.Builder()
            .signedBy(serverRootCa)
            .certificateAuthority(0)
            .serialNumber(2L)
            .commonName("intermediate_ca")
            .addSubjectAlternativeName("intermediate_ca.com")
            .build()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authentication/request/x509/x509.go

    var CommonNameUserConversion = UserConversionFunc(func(chain []*x509.Certificate) (*authenticator.Response, bool, error) {
    	if len(chain[0].Subject.CommonName) == 0 {
    		return nil, false, nil
    	}
    	return &authenticator.Response{
    		User: &user.DefaultInfo{
    			Name:   chain[0].Subject.CommonName,
    			Groups: chain[0].Subject.Organization,
    		},
    	}, true, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 18 01:31:22 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/certs/renewal/manager_test.go

    		DNSNames:    []string{"test-domain.space"},
    		IPAddresses: []net.IP{netutils.ParseIPSloppy("10.100.0.1")},
    	}
    
    	cfg := certToConfig(cert)
    
    	if cfg.CommonName != expectedConfig.CommonName {
    		t.Errorf("expected common name %q, got %q", expectedConfig.CommonName, cfg.CommonName)
    	}
    
    	if len(cfg.Organization) != 1 || cfg.Organization[0] != expectedConfig.Organization[0] {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. security/pkg/pki/util/verify_cert.go

    				[]string{org}, cert.Issuer.Organization)
    		}
    
    		if cn := expectedFields.CommonName; cn != cert.Subject.CommonName {
    			return fmt.Errorf("unexpected value for 'CommonName' field: want %v but got %v",
    				cn, cert.Subject.CommonName)
    		}
    	}
    	return nil
    }
    
    func sortExtKeyUsage(extKeyUsage []x509.ExtKeyUsage) []int {
    	data := make([]int, len(extKeyUsage))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 05 10:37:29 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/phases/certs/certlist.go

    		LongName: "self-signed Kubernetes CA to provision identities for other Kubernetes components",
    		BaseName: kubeadmconstants.CACertAndKeyBaseName,
    		config: pkiutil.CertConfig{
    			Config: certutil.Config{
    				CommonName: "kubernetes",
    			},
    		},
    	}
    }
    
    // KubeadmCertAPIServer is the definition of the cert used to serve the Kubernetes API.
    func KubeadmCertAPIServer() *KubeadmCert {
    	return &KubeadmCert{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. security/pkg/pki/testdata/multilevelpki/int-cert.cfg

    countryName_default = US
    stateOrProvinceName = CA
    stateOrProvinceName_default = CA
    localityName = Sunnyvale
    localityName_default = Sunnyvale
    organizationalUnitName = Istio
    organizationalUnitName_default = Istio
    commonName = Intermediate CA
    commonName_default = Intermediate CA
    commonName_max  = 64
    
    [v3_req]
    basicConstraints = CA:TRUE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 526 bytes
    - Viewed (0)
  7. security/pkg/pki/testdata/multilevelpki/int2-cert.cfg

    countryName_default = US
    stateOrProvinceName = CA
    stateOrProvinceName_default = CA
    localityName = Sunnyvale
    localityName_default = Sunnyvale
    organizationalUnitName = Istio
    organizationalUnitName_default = Istio
    commonName = Intermediate CA2
    commonName_default = Intermediate CA2
    commonName_max  = 64
    
    [v3_req]
    basicConstraints = CA:TRUE
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Mar 06 04:49:04 UTC 2018
    - 528 bytes
    - Viewed (0)
  8. okhttp-tls/src/test/java/okhttp3/tls/HeldCertificateTest.kt

          listOf(GeneralName.iPAddress, "1.1.1.1"),
          listOf(GeneralName.dNSName, "cash.app"),
        )
      }
    
      @Test
      fun commonName() {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("cash.app")
            .build()
        val certificate = heldCertificate.certificate
        assertThat(certificate.getSubjectX500Principal().name).isEqualTo("CN=cash.app")
      }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go

    		{
    			name: "has ServerAuth",
    			config: CertConfig{
    				Config: certutil.Config{
    					CommonName: "test",
    					Usages:     []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    				},
    			},
    			expected: true,
    		},
    		{
    			name: "has ServerAuth ECDSA",
    			config: CertConfig{
    				Config: certutil.Config{
    					CommonName: "test",
    					Usages:     []x509.ExtKeyUsage{x509.ExtKeyUsageServerAuth},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 31 21:49:21 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  10. src/crypto/x509/x509_test.go

    			t.Errorf("%s: failed to parse excluded URIs: %#v", test.name, cert.ExcludedURIDomains)
    		}
    
    		if cert.Subject.CommonName != commonName {
    			t.Errorf("%s: subject wasn't correctly copied from the template. Got %s, want %s", test.name, cert.Subject.CommonName, commonName)
    		}
    
    		if len(cert.Subject.Country) != 1 || cert.Subject.Country[0] != "NL" {
    			t.Errorf("%s: ExtraNames didn't override Country", test.name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
Back to top