Home | Trees | Indices | Help |
---|
|
This class represents a TLS session.
TLS distinguishes between connections and sessions. A new handshake creates both a connection and a session. Data is transmitted over the connection.
The session contains a more permanent record of the handshake. The session can be inspected to determine handshake results. The session can also be used to create a new connection through "session resumption". If the client and server both support this, they can create a new connection based on an old session without the overhead of a full handshake.
The session for a tlslite.TLSConnection.TLSConnection can be retrieved from the connection's 'session' attribute.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
str |
|
||
str |
|
||
|
|||
bool |
|
||
Inherited from |
|
|||
tlslite.x509certchain.X509CertChain |
clientCertChain The client's certificate chain (or None). |
||
bool |
encryptThenMAC True if connection uses CBC cipher in encrypt-then-MAC mode |
||
tlslite.x509certchain.X509CertChain |
serverCertChain The server's certificate chain (or None). |
||
str |
srpUsername The client's SRP username (or None). |
||
tack.structures.TackExtension.TackExtension
|
tackExt The server's TackExtension (or None). |
||
bool
|
tackInHelloExt True if a TACK was presented via TLS Extension. |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Get the name of the cipher used with this connection.
|
Get the name of the HMAC hash algo used with this connection.
|
If this session can be used for session resumption.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Thu Jul 23 18:24:39 2015 | http://epydoc.sourceforge.net |