crypto/x509.HostnameError.Host (field)

8 uses

	crypto/x509 (current package)
		verify.go#L106: 	Host        string
		verify.go#L113: 	if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, splitHostname(h.Host)) {
		verify.go#L118: 	if ip := net.ParseIP(h.Host); ip != nil {
		verify.go#L121: 			return "x509: cannot validate certificate for " + h.Host + " because it doesn't contain any IP SANs"
		verify.go#L124: 			return fmt.Sprintf("x509: certificate is valid for %d IP SANs, but none matched %s", len(c.IPAddresses), h.Host)
		verify.go#L134: 			return fmt.Sprintf("x509: certificate is valid for %d names, but none matched %s", len(c.DNSNames), h.Host)
		verify.go#L140: 		return "x509: certificate is not valid for any names, but wanted to match " + h.Host
		verify.go#L142: 	return "x509: certificate is valid for " + valid.String() + ", not " + h.Host