The cipher suite associated with an SSLSession
.
The cipher suite associated with an SSLSession
.
If SSL/TLS is not being used, an empty string will be returned instead.
The X509Certificate
s that were sent to the peer during the SSL/TLS handshake.
The X509Certificate
s that were sent to the peer during the SSL/TLS handshake.
If SSL/TLS is not being used, an empty sequence will be returned instead.
The X509Certificate
s that were received from the peer during the SSL/TLS handshake.
The X509Certificate
s that were received from the peer during the SSL/TLS handshake.
If SSL/TLS is not being used, an empty sequence will be returned instead.
The SSLSession
associated with a particular connection.
The SSLSession
associated with a particular connection.
If SSL/TLS is not being used a NullSslSession
will be returned instead.
The Session ID associated with an SSLSession
.
The Session ID associated with an SSLSession
.
If SSL/TLS is not being used, an empty string will be returned instead.
,The maximum length for an SSL/TLS Session ID is 32 bytes. This method returns a hex string version of the Session ID which has a maximum length of 64 bytes.
Indicates whether the connection is using SSL/TLS.
SslSessionInfo
provides information related to an existing connection's use of an SSL/TLS session. SSL/TLS sessions are either negotiated or resumed during handshaking. When using SSL/TLS, one and only one SSL/TLS session is associated with a connection, although it's possible that an SSL/TLS session may be reused between multiple connections.An instance of this class should be associated with an existing connection. When using SSL/TLS, the instance provides easy access to the session and its relevant information. When not using SSL/TLS (i.e. there is no existing SSL/TLS session), then a
NullSslSessionInfo
should be used instead.