Uses of Class
org.conscrypt.NativeSslSession
-
Packages that use NativeSslSession Package Description org.conscrypt -
-
Uses of NativeSslSession in org.conscrypt
Subclasses of NativeSslSession in org.conscrypt Modifier and Type Class Description private static class
NativeSslSession.Impl
The session wrapper implementation.Fields in org.conscrypt with type parameters of type NativeSslSession Modifier and Type Field Description private java.util.Map<ByteArray,NativeSslSession>
AbstractSessionContext. sessions
private java.util.Map<ClientSessionContext.HostAndPort,java.util.List<NativeSslSession>>
ClientSessionContext. sessionsByHostAndPort
Sessions indexed by host and port.Methods in org.conscrypt that return NativeSslSession Modifier and Type Method Description (package private) NativeSslSession
ClientSessionContext. getCachedSession(java.lang.String hostName, int port, SSLParametersImpl sslParameters)
Gets the suitable session reference from the session cache container.private NativeSslSession
ClientSessionContext. getSession(java.lang.String host, int port)
Finds a cached session for the given host name and port.(package private) 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, java.lang.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 NativeSslSession Modifier and Type Method Description (package private) 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) void
AbstractSessionContext. removeSession(NativeSslSession session)
Removes the given session from the cache.private void
ClientSessionContext. removeSession(ClientSessionContext.HostAndPort key, NativeSslSession session)
-