Lines Matching defs:ConnectionState
240 type ConnectionState struct { struct
241 … uint16 // TLS version used by the connection (e.g. VersionTLS12)
242 HandshakeComplete bool // TLS handshake is complete
243 DidResume bool // connection resumes a previous TLS connection
244 …erSuite uint16 // cipher suite in use (TLS_RSA_WITH_RC4_128_SHA, ...)
245 …gotiatedProtocol string // negotiated next protocol (from Config.NextProtos)
246 NegotiatedProtocolIsMutual bool // negotiated protocol was advertised by server
247 NegotiatedProtocolFromALPN bool // protocol negotiated with ALPN
248 … string // server name requested by client, if any (server side only)
249 PeerCertificates []*x509.Certificate // certificate chain presented by remote peer
250 VerifiedChains [][]*x509.Certificate // verified chains built from PeerCertificates
251 ChannelID *ecdsa.PublicKey // the channel ID for this connection
252 SRTPProtectionProfile uint16 // the negotiated DTLS-SRTP protection profile
253 TLSUnique []byte // the tls-unique channel binding
254 SCTList []byte // signed certificate timestamp list
255 PeerSignatureAlgorithm signatureAlgorithm // algorithm used by the peer in the handshake
256 CurveID CurveID // the curve used in ECDHE