[Top]
predef::
SSL
SSL.session
|
Class SSL.session
- Description
-
The most important information in a session object is a
choice of encryption algorithms and a "master secret" created by
keyexchange with a client. Each connection can either do a full key
exchange to established a new session, or reuse a previously
established session. That is why we have the session abstraction and
the session cache. Each session is used by one or more connections, in
sequence or simultaneously.
It is also possible to change to a new session in the middle of a
connection.
- Inherit
cipher
-
inherit "cipher" : cipher
- Variable
identity
-
string identity
- Description
-
Identifies the session to the server
- Variable
compression_algorithm
-
int compression_algorithm
- Description
-
Always COMPRESSION_null.
- Variable
cipher_suite
-
int cipher_suite
- Description
-
Constant defining a choice of keyexchenge, encryption and mac
algorithm.
- Variable
cipher_spec
-
object cipher_spec
- Description
-
Information about the encryption method derived from the
cipher_suite.
- Variable
ke_method
-
int ke_method
- Description
-
Key exchange method, also derived from the cipher_suite.
- Variable
master_secret
-
string master_secret
- Description
-
48 byte secret shared between the client and the server. Used for
deriving the actual keys.
|