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.
- Variable
cert_data
mappingSSL.session.cert_data- Description
information about the certificate in use by the peer, such as issuing authority, and verification status.
- Variable
certificate_chain
array(string) SSL.session.certificate_chain- Description
our certificate chain
- Variable
cipher_spec
.Cipher.CipherSpecSSL.session.cipher_spec- Description
Information about the encryption method derived from the cipher_suite.
- Variable
cipher_suite
intSSL.session.cipher_suite- Description
Constant defining a choice of keyexchange, encryption and mac algorithm.
- Variable
compression_algorithm
intSSL.session.compression_algorithm- Description
Always COMPRESSION_null.
- Variable
dsa
Crypto.DSASSL.session.dsa- Description
The server's dsa private key
- Variable
ke_method
intSSL.session.ke_method- Description
Key exchange method, also derived from the cipher_suite.
- Variable
master_secret
stringSSL.session.master_secret- Description
48 byte secret shared between the client and the server. Used for deriving the actual keys.
- Variable
peer_certificate_chain
array(string) SSL.session.peer_certificate_chain- Description
the peer certificate chain
- Variable
rsa
Crypto.RSASSL.session.rsa- Description
The server's private key