Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation.
Scala API: Extract the certificates that were actually used by this engine during this session’s negotiation. The list is empty if no certificates were used.
Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.
Scala API: Extract the Principal that was actually used by this engine during this session’s negotiation.
Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation.
Scala API: Extract the certificates that were used by the peer engine during this session’s negotiation. The list is empty if no certificates were used.
Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.
Scala API: Extract the Principal that the peer engine presented during this session’s negotiation.
The underlying javax.net.ssl.SSLSession.
The underlying javax.net.ssl.SSLSession.
Plaintext bytes emitted by the SSLEngine are received over one specific encryption session and this class bundles the bytes with the SSLSession object. When the session changes due to renegotiation (which can be initiated by either party) the new session value will not compare equal to the previous one.
The Java API for getting session information is given by the SSLSession object, the Scala API adapters are offered below.