crypto/x509.Certificate.DNSNames (field)

9 uses

	crypto/x509 (current package)
		parser.go#L663: 				out.DNSNames, out.EmailAddresses, out.IPAddresses, out.URIs, err = parseSANExtension(e.Value)
		parser.go#L668: 				if len(out.DNSNames) == 0 && len(out.EmailAddresses) == 0 && len(out.IPAddresses) == 0 && len(out.URIs) == 0 {
		verify.go#L120: 		valid = strings.Join(c.DNSNames, ", ")
		verify.go#L1104: 	for _, match := range c.DNSNames {
		x509.go#L756: 	DNSNames       []string
		x509.go#L1166: 	if (len(template.DNSNames) > 0 || len(template.EmailAddresses) > 0 || len(template.IPAddresses) > 0 || len(template.URIs) > 0) &&
		x509.go#L1173: 		ret[n].Value, err = marshalSANs(template.DNSNames, template.EmailAddresses, template.IPAddresses, template.URIs)

	crypto/tls
		common.go#L1366: 		if x509Cert.Subject.CommonName != "" && len(x509Cert.DNSNames) == 0 {
		common.go#L1369: 		for _, san := range x509Cert.DNSNames {