crypto/x509.Certificate.Subject (field)
10 uses
crypto/x509 (current package)
parser.go#L899: cert.Subject.FillFromRDNSequence(subjectRDNs)
verify.go#L103: if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, h.Host) {
verify.go#L143: certName := e.hintCert.Subject.CommonName
verify.go#L145: if len(e.hintCert.Subject.Organization) > 0 {
verify.go#L146: certName = e.hintCert.Subject.Organization[0]
x509.go#L693: Subject pkix.Name
x509.go#L1402: return asn1.Marshal(cert.Subject.ToRDNSequence())
x509.go#L1732: Issuer: c.Subject.ToRDNSequence(),
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. |