SSLClientSessionCache

A persistent {@link javax.net.ssl.SSLSession} cache used by {@link javax.net.ssl.SSLSessionContext} to share client-side SSL sessions across processes. For example, this cache enables applications to persist and reuse sessions across restarts.

<p>The {@code SSLSessionContext} implementation converts {@code SSLSession}s into raw bytes and vice versa. The exact makeup of the session data is dependent upon the caller's implementation and is opaque to the {@code SSLClientSessionCache} implementation.

Members

Functions

getSessionData
byte[] getSessionData(string host, int port)

Gets data from a pre-existing session for a given server host and port.

putSessionData
void putSessionData(SSLSession session, byte[] sessionData)

Stores session data for the given session.

Meta