crypto/tls.Conn.peerCertificates (field)

18 uses

	crypto/tls (current package)
		conn.go#L50: 	peerCertificates []*x509.Certificate
		conn.go#L1423: 	state.PeerCertificates = c.peerCertificates
		conn.go#L1466: 	return c.peerCertificates[0].VerifyHostname(host)
		handshake_client.go#L513: 		if !bytes.Equal(c.peerCertificates[0].Raw, certMsg.certificates[0]) {
		handshake_client.go#L524: 		err = keyAgreement.processServerKeyExchange(c.config, hs.hello, hs.serverHello, c.peerCertificates[0], skx)
		handshake_client.go#L574: 	preMasterSecret, ckx, err := keyAgreement.generateClientKeyExchange(c.config, hs.hello, c.peerCertificates[0])
		handshake_client.go#L734: 	c.peerCertificates = hs.session.serverCertificates
		handshake_client.go#L796: 		serverCertificates: c.peerCertificates,
		handshake_client.go#L862: 	c.peerCertificates = certs
		handshake_client_tls13.go#L335: 	c.peerCertificates = hs.session.serverCertificates
		handshake_client_tls13.go#L490: 	if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,
		handshake_client_tls13.go#L671: 		serverCertificates: c.peerCertificates,
		handshake_server.go#L568: 			pub = c.peerCertificates[0].PublicKey
		handshake_server.go#L608: 	if len(c.peerCertificates) > 0 {
		handshake_server.go#L725: 	for _, cert := range c.peerCertificates {
		handshake_server.go#L808: 	c.peerCertificates = certs
		handshake_server_tls13.go#L738: 	for _, cert := range c.peerCertificates {
		handshake_server_tls13.go#L832: 		if err := verifyHandshakeSignature(sigType, c.peerCertificates[0].PublicKey,