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 {
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |