crypto/x509.Certificate.VerifyHostname (method)

5 uses

	crypto/x509 (current package)
		verify.go#L796: 		err = c.VerifyHostname(opts.DNSName)
		verify.go#L1084: func (c *Certificate) VerifyHostname(h string) error {

	crypto/tls
		common.go#L1189: 		if err := x509Cert.VerifyHostname(chi.ServerName); err != nil {
		conn.go#L1654: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L338: 		if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {