|
|
@@ -163,8 +163,8 @@ type ConnectionState struct { |
|
|
|
HandshakeComplete bool // TLS handshake is complete |
|
|
|
DidResume bool // connection resumes a previous TLS connection |
|
|
|
CipherSuite uint16 // cipher suite in use (TLS_RSA_WITH_RC4_128_SHA, ...) |
|
|
|
NegotiatedProtocol string // negotiated next protocol (from Config.NextProtos) |
|
|
|
NegotiatedProtocolIsMutual bool // negotiated protocol was advertised by server |
|
|
|
NegotiatedProtocol string // negotiated next protocol (not guaranteed to be from Config.NextProtos) |
|
|
|
NegotiatedProtocolIsMutual bool // negotiated protocol was advertised by server (client side only) |
|
|
|
ServerName string // server name requested by client, if any (server side only) |
|
|
|
PeerCertificates []*x509.Certificate // certificate chain presented by remote peer |
|
|
|
VerifiedChains [][]*x509.Certificate // verified chains built from PeerCertificates |
|
|
|