func crypto/x509.ParseCertificate

8 uses

	crypto/x509 (current package)
		cert_pool.go#L219: 		cert, err := ParseCertificate(certBytes)
		cert_pool.go#L230: 				lazyCert.v, _ = ParseCertificate(certBytes)
		parser.go#L984: func ParseCertificate(der []byte) (*Certificate, error) {

	crypto/tls
		cache.go#L85: 	cert, err := x509.ParseCertificate(der)
		common.go#L1335: 			if x509Cert, err = x509.ParseCertificate(cert); err != nil {
		common.go#L1430: 	return x509.ParseCertificate(c.Certificate[0])
		handshake_server.go#L863: 		if certs[i], err = x509.ParseCertificate(asn1Data); err != nil {
		tls.go#L294: 	x509Cert, err := x509.ParseCertificate(cert.Certificate[0])