crypto/x509/pkix.Name.CommonName (field)
8 uses
crypto/x509/pkix (current package)
pkix.go#L127: SerialNumber, CommonName string
pkix.go#L161: n.CommonName = value
pkix.go#L234: if len(n.CommonName) > 0 {
pkix.go#L235: ret = n.appendRDNs(ret, []string{n.CommonName}, oidCommonName)
crypto/x509
verify.go#L103: if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, h.Host) {
verify.go#L143: certName := e.hintCert.Subject.CommonName
crypto/tls
common.go#L1366: if x509Cert.Subject.CommonName != "" && len(x509Cert.DNSNames) == 0 {
common.go#L1367: c.NameToCertificate[x509Cert.Subject.CommonName] = cert
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. |