Uses of Class
org.conscrypt.NativeSslSession
Packages that use NativeSslSession
-
Uses of NativeSslSession in org.conscrypt
Subclasses of NativeSslSession in org.conscryptModifier and TypeClassDescriptionprivate static final class
The session wrapper implementation.Fields in org.conscrypt with type parameters of type NativeSslSessionModifier and TypeFieldDescriptionprivate final Map
<ByteArray, NativeSslSession> AbstractSessionContext.sessions
private final Map
<ClientSessionContext.HostAndPort, List<NativeSslSession>> ClientSessionContext.sessionsByHostAndPort
Sessions indexed by host and port.Methods in org.conscrypt that return NativeSslSessionModifier and TypeMethodDescription(package private) NativeSslSession
ClientSessionContext.getCachedSession
(String hostName, int port, SSLParametersImpl sslParameters) Gets the suitable session reference from the session cache container.private NativeSslSession
ClientSessionContext.getSession
(String host, int port) Finds a cached session for the given host name and port.(package private) final NativeSslSession
AbstractSessionContext.getSessionFromCache
(byte[] sessionId) Called for server sessions only.(package private) abstract NativeSslSession
AbstractSessionContext.getSessionFromPersistentCache
(byte[] sessionId) Called for server sessions only.(package private) NativeSslSession
ClientSessionContext.getSessionFromPersistentCache
(byte[] sessionId) (package private) NativeSslSession
ServerSessionContext.getSessionFromPersistentCache
(byte[] sessionId) (package private) static NativeSslSession
NativeSslSession.newInstance
(AbstractSessionContext context, byte[] data, String host, int port) Creates a newNativeSslSession
instance from the provided serialized bytes, which were generated bytoBytes()
.(package private) static NativeSslSession
NativeSslSession.newInstance
(NativeRef.SSL_SESSION ref, ConscryptSession session) Creates a new instance.Methods in org.conscrypt with parameters of type NativeSslSessionModifier and TypeMethodDescription(package private) final void
AbstractSessionContext.cacheSession
(NativeSslSession session) Adds the given session to the cache.(package private) abstract void
AbstractSessionContext.onBeforeAddSession
(NativeSslSession session) Called when the given session is about to be added.(package private) void
ClientSessionContext.onBeforeAddSession
(NativeSslSession session) (package private) void
ServerSessionContext.onBeforeAddSession
(NativeSslSession session) (package private) abstract void
AbstractSessionContext.onBeforeRemoveSession
(NativeSslSession session) Called when a session is about to be removed.(package private) void
ClientSessionContext.onBeforeRemoveSession
(NativeSslSession session) (package private) void
ServerSessionContext.onBeforeRemoveSession
(NativeSslSession session) private void
ClientSessionContext.putSession
(ClientSessionContext.HostAndPort key, NativeSslSession session) (package private) final void
AbstractSessionContext.removeSession
(NativeSslSession session) Removes the given session from the cache.private void
ClientSessionContext.removeSession
(ClientSessionContext.HostAndPort key, NativeSslSession session)