SSLHandshakeCallbacks.serverSessionRequested

Called for servers where TLS < 1.3 (TLS 1.3 uses session tickets rather than application session caches).

<p/>Looks up the session by ID in the application's session cache. If a valid session is returned, this callback is responsible for incrementing the reference count (and any required synchronization).

@param id the ID of the session to find. @return the cached session or {@code 0} if no session was found matching the given ID.

interface SSLHandshakeCallbacks
long
serverSessionRequested
(
byte[] id
)

Meta