crypto/x509.Certificate.Subject (field)
12 uses
crypto/x509 (current package)
parser.go#L987: cert.Subject.FillFromRDNSequence(subjectRDNs)
verify.go#L113: if !c.hasSANExtension() && matchHostnames(c.Subject.CommonName, splitHostname(h.Host)) {
verify.go#L159: certName := e.hintCert.Subject.CommonName
verify.go#L161: if len(e.hintCert.Subject.Organization) > 0 {
verify.go#L162: certName = e.hintCert.Subject.Organization[0]
x509.go#L720: Subject pkix.Name
x509.go#L1528: return asn1.Marshal(cert.Subject.ToRDNSequence())
x509.go#L1876: Issuer: c.Subject.ToRDNSequence(),
crypto/tls
common.go#L1574: if x509Cert.Subject.CommonName != "" && len(x509Cert.DNSNames) == 0 {
common.go#L1575: c.NameToCertificate[x509Cert.Subject.CommonName] = cert
github.com/refraction-networking/utls
common.go#L1566: if x509Cert.Subject.CommonName != "" && len(x509Cert.DNSNames) == 0 {
common.go#L1567: c.NameToCertificate[x509Cert.Subject.CommonName] = cert
![]() |
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. |