crypto/x509.Certificate.VerifyHostname (method)
8 uses
crypto/x509 (current package)
verify.go#L590: err = c.VerifyHostname(opts.DNSName)
verify.go#L936: func (c *Certificate) VerifyHostname(h string) error {
crypto/tls
common.go#L1393: if err := x509Cert.VerifyHostname(chi.ServerName); err != nil {
conn.go#L1680: return c.peerCertificates[0].VerifyHostname(host)
handshake_client.go#L410: if err := session.peerCertificates[0].VerifyHostname(c.config.ServerName); err != nil {
github.com/refraction-networking/utls
common.go#L1389: if err := x509Cert.VerifyHostname(chi.ServerName); err != nil {
conn.go#L1700: return c.peerCertificates[0].VerifyHostname(host)
handshake_client.go#L475: if err := session.peerCertificates[0].VerifyHostname(dnsName); err != nil {
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |