crypto/tls.Certificate.Certificate (field)
26 uses
crypto/tls (current package)
common.go#L1558: for j, cert := range c.Certificate {
common.go#L1635: Certificate [][]byte
common.go#L1667: return x509.ParseCertificate(c.Certificate[0])
handshake_client.go#L739: hs.c.localCertificate = chainToSend.Certificate
handshake_client.go#L753: certMsg.certificates = chainToSend.Certificate
handshake_client.go#L790: if chainToSend != nil && len(chainToSend.Certificate) > 0 {
handshake_client_tls13.go#L628: if len(certMsg.certificate.Certificate) == 0 {
handshake_client_tls13.go#L636: if err := c.verifyServerCertificate(certMsg.certificate.Certificate); err != nil {
handshake_client_tls13.go#L760: hs.c.localCertificate = cert.Certificate
handshake_client_tls13.go#L774: if len(cert.Certificate) == 0 {
handshake_messages.go#L1488: for i, cert := range certificate.Certificate {
handshake_messages.go#L1553: certificate.Certificate = append(certificate.Certificate, cert)
handshake_messages.go#L1561: if len(certificate.Certificate) > 1 {
handshake_server.go#L619: certMsg.certificates = hs.cert.Certificate
handshake_server.go#L623: c.localCertificate = hs.cert.Certificate
handshake_server.go#L704: Certificate: certMsg.certificates,
handshake_server.go#L944: certificates := certificate.Certificate
handshake_server_tls13.go#L497: hs.c.localCertificate = certificate.Certificate
handshake_server_tls13.go#L1070: if len(certMsg.certificate.Certificate) != 0 {
ticket.go#L142: Certificate: certificatesToBytesSlice(s.peerCertificates),
ticket.go#L236: for _, cert := range cert.Certificate {
tls.go#L270: cert.Certificate = append(cert.Certificate, certDERBlock.Bytes)
tls.go#L276: if len(cert.Certificate) == 0 {
tls.go#L307: x509Cert, err := x509.ParseCertificate(cert.Certificate[0])
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)