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 classThe session wrapper implementation.Fields in org.conscrypt with type parameters of type NativeSslSessionModifier and TypeFieldDescriptionprivate final Map<ByteArray, NativeSslSession> AbstractSessionContext.sessionsprivate final Map<ClientSessionContext.HostAndPort, List<NativeSslSession>> ClientSessionContext.sessionsByHostAndPortSessions indexed by host and port.Methods in org.conscrypt that return NativeSslSessionModifier and TypeMethodDescription(package private) NativeSslSessionClientSessionContext.getCachedSession(String hostName, int port, SSLParametersImpl sslParameters) Gets the suitable session reference from the session cache container.private NativeSslSessionClientSessionContext.getSession(String host, int port) Finds a cached session for the given host name and port.(package private) final NativeSslSessionAbstractSessionContext.getSessionFromCache(byte[] sessionId) Called for server sessions only.(package private) abstract NativeSslSessionAbstractSessionContext.getSessionFromPersistentCache(byte[] sessionId) Called for server sessions only.(package private) NativeSslSessionClientSessionContext.getSessionFromPersistentCache(byte[] sessionId) (package private) NativeSslSessionServerSessionContext.getSessionFromPersistentCache(byte[] sessionId) (package private) static NativeSslSessionNativeSslSession.newInstance(AbstractSessionContext context, byte[] data, String host, int port) Creates a newNativeSslSessioninstance from the provided serialized bytes, which were generated bytoBytes().(package private) static NativeSslSessionNativeSslSession.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 voidAbstractSessionContext.cacheSession(NativeSslSession session) Adds the given session to the cache.(package private) abstract voidAbstractSessionContext.onBeforeAddSession(NativeSslSession session) Called when the given session is about to be added.(package private) voidClientSessionContext.onBeforeAddSession(NativeSslSession session) (package private) voidServerSessionContext.onBeforeAddSession(NativeSslSession session) (package private) abstract voidAbstractSessionContext.onBeforeRemoveSession(NativeSslSession session) Called when a session is about to be removed.(package private) voidClientSessionContext.onBeforeRemoveSession(NativeSslSession session) (package private) voidServerSessionContext.onBeforeRemoveSession(NativeSslSession session) private voidClientSessionContext.putSession(ClientSessionContext.HostAndPort key, NativeSslSession session) (package private) final voidAbstractSessionContext.removeSession(NativeSslSession session) Removes the given session from the cache.private voidClientSessionContext.removeSession(ClientSessionContext.HostAndPort key, NativeSslSession session)