crypto/tls.ConnectionState.PeerCertificates (field)
9 uses
crypto/tls (current package)
common.go#L251: PeerCertificates []*x509.Certificate
conn.go#L1423: state.PeerCertificates = c.peerCertificates
github.com/lib/pq
ssl.go#L161: certs := client.ConnectionState().PeerCertificates
google.golang.org/grpc/credentials
tls.go#L53: if len(t.State.PeerCertificates) > 0 {
tls.go#L54: v.RemoteCertificate = t.State.PeerCertificates[0].Raw
google.golang.org/grpc/internal/credentials
spiffe.go#L36: if len(state.PeerCertificates) == 0 || len(state.PeerCertificates[0].URIs) == 0 {
spiffe.go#L40: for _, uri := range state.PeerCertificates[0].URIs {
spiffe.go#L58: if len(state.PeerCertificates[0].URIs) > 1 {
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |