crypto/tls.Certificate.Certificate (field)

24 uses

	crypto/tls (current package)
		common.go#L1277: 	for j, cert := range c.Certificate {
		common.go#L1351: 	Certificate [][]byte
		common.go#L1378: 	return x509.ParseCertificate(c.Certificate[0])
		handshake_client.go#L577: 		certMsg.certificates = chainToSend.Certificate
		handshake_client.go#L596: 	if chainToSend != nil && len(chainToSend.Certificate) > 0 {
		handshake_client_tls13.go#L448: 	if len(certMsg.certificate.Certificate) == 0 {
		handshake_client_tls13.go#L457: 	if err := c.verifyServerCertificate(certMsg.certificate.Certificate); err != nil {
		handshake_client_tls13.go#L572: 	if len(cert.Certificate) == 0 {
		handshake_messages.go#L1312: 		for i, cert := range certificate.Certificate {
		handshake_messages.go#L1377: 		certificate.Certificate = append(certificate.Certificate, cert)
		handshake_messages.go#L1385: 			if len(certificate.Certificate) > 1 {
		handshake_server.go#L466: 		Certificate: hs.sessionState.certificates,
		handshake_server.go#L506: 	certMsg.certificates = hs.cert.Certificate
		handshake_server.go#L589: 			Certificate: certMsg.certificates,
		handshake_server.go#L798: 	certificates := certificate.Certificate
		handshake_server_tls13.go#L281: 		sessionHasClientCerts := len(sessionState.certificate.Certificate) != 0
		handshake_server_tls13.go#L732: 			Certificate:                 certsFromClient,
		handshake_server_tls13.go#L792: 	if len(certMsg.certificate.Certificate) != 0 {
		tls.go#L257: 			cert.Certificate = append(cert.Certificate, certDERBlock.Bytes)
		tls.go#L263: 	if len(cert.Certificate) == 0 {
		tls.go#L294: 	x509Cert, err := x509.ParseCertificate(cert.Certificate[0])

	net/http/httptest
		server.go#L168: 	s.certificate, err = x509.ParseCertificate(s.TLS.Certificates[0].Certificate[0])