- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for dnsNames (0.16 sec)
-
src/crypto/x509/parser.go
} emailAddresses = append(emailAddresses, email) case nameTypeDNS: name := string(data) if err := isIA5String(name); err != nil { return errors.New("x509: SAN dNSName is malformed") } dnsNames = append(dnsNames, string(name)) case nameTypeURI: uriStr := string(data) if err := isIA5String(uriStr); err != nil { return errors.New("x509: SAN uniformResourceIdentifier is malformed") }
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/kubeadm/app/phases/certs/certs_test.go
if csr.Subject.CommonName != certConfig.CommonName { t.Errorf("expected common name %q, got %q", certConfig.CommonName, csr.Subject.CommonName) } assert.ElementsMatch(t, certConfig.AltNames.DNSNames, csr.DNSNames, "dns names not equal") assert.Len(t, csr.IPAddresses, len(certConfig.AltNames.IPs)) for i, ip := range csr.IPAddresses { if !ip.Equal(certConfig.AltNames.IPs[i]) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 23.3K bytes - Viewed (0) -
src/crypto/x509/x509.go
// Subject Alternate Name values. (Note that these values may not be valid // if invalid values were contained within a parsed certificate. For // example, an element of DNSNames may not be a valid DNS domain name.) DNSNames []string EmailAddresses []string IPAddresses []net.IP URIs []*url.URL // Name constraints
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/certs.go
if err != nil { return "" } if len(certConfig.AltNames.DNSNames) == 0 && len(certConfig.AltNames.IPs) == 0 { return "" } // This mutates the certConfig, but we're throwing it after we construct the command anyway sans := []string{} for _, dnsName := range certConfig.AltNames.DNSNames { if dnsName != "" { sans = append(sans, dnsName) } } for _, ip := range certConfig.AltNames.IPs {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 08 06:35:45 UTC 2024 - 9.8K bytes - Viewed (0) -
src/crypto/x509/name_constraints_test.go
parse := func(constraints []string) (dnsNames []string, ips []*net.IPNet, emailAddrs []string, uriDomains []string, err error) { for _, constraint := range constraints { switch { case strings.HasPrefix(constraint, "dns:"): dnsNames = append(dnsNames, constraint[4:]) case strings.HasPrefix(constraint, "ip:"):
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 22:40:21 UTC 2024 - 45.2K 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) -
src/crypto/x509/hybrid_pool_test.go
} certTmpl := &x509.Certificate{ SerialNumber: big.NewInt(1), NotBefore: time.Now().Add(-time.Hour), NotAfter: time.Now().Add(time.Hour * 10), DNSNames: []string{"example.com"}, } certDER, err := x509.CreateCertificate(rand.Reader, certTmpl, rootTmpl, k.Public(), k) if err != nil { t.Fatalf("failed to create test cert: %s", err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:48:11 UTC 2024 - 3.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
return certutil.Config{ CommonName: cert.Subject.CommonName, Organization: cert.Subject.Organization, AltNames: certutil.AltNames{ IPs: cert.IPAddresses, DNSNames: cert.DNSNames, }, Usages: cert.ExtKeyUsage, } } func loadCertConfigMutators(certBaseName string) []certConfigMutatorFunc { return nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/certlist_test.go
{ config: pkiutil.CertConfig{}, Name: "test-ca", BaseName: "test-ca", }, { config: pkiutil.CertConfig{ Config: certutil.Config{ AltNames: certutil.AltNames{ DNSNames: []string{"test-domain.space"}, }, Usages: []x509.ExtKeyUsage{x509.ExtKeyUsageClientAuth}, }, }, configMutators: []configMutatorsFunc{ setCommonNameToNodeName(), },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 8.8K bytes - Viewed (0) -
pilot/pkg/bootstrap/server.go
for _, altName := range knownHosts { knownSans = append(knownSans, fmt.Sprintf("%s.%s.svc", altName, args.Namespace)) } sans.InsertAll(knownSans...) dnsNames := sets.SortedList(sans) log.Infof("Discover server subject alt names: %v", dnsNames) return dnsNames } // createPeerCertVerifier creates a SPIFFE certificate verifier with the current istiod configuration.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 46.3K bytes - Viewed (0)