- sslCtxNativePointer
long sslCtxNativePointer;
Undocumented in source.
- setVerify
void setVerify(int mode)
Undocumented in source. Be warned that the author may not have intended to support it.
- useCaCertificate
void useCaCertificate(string caFile, string password)
Undocumented in source. Be warned that the author may not have intended to support it.
- useCertificate
void useCertificate(string certificate, string privateKey, string certPassword, string keyPassword)
Undocumented in source. Be warned that the author may not have intended to support it.
- getIds
Enumeration!(byte[]) getIds()
This method is provided for API-compatibility only, not intended for use. No guarantees
are made WRT performance.
- getSession
SSLSession getSession(byte[] sessionId)
This is provided for API-compatibility only, not intended for use. No guarantees are
made WRT performance or the validity of the returned session.
- getSessionCacheSize
int getSessionCacheSize()
Undocumented in source. Be warned that the author may not have intended to support it.
- getSessionTimeout
int getSessionTimeout()
Undocumented in source. Be warned that the author may not have intended to support it.
- setSessionTimeout
void setSessionTimeout(int seconds)
Undocumented in source. Be warned that the author may not have intended to support it.
- setSessionCacheSize
void setSessionCacheSize(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- finalize
void finalize()
Undocumented in source. Be warned that the author may not have intended to support it.
- cacheSession
void cacheSession(NativeSslSession session)
Adds the given session to the cache.
- getSessionFromCache
NativeSslSession getSessionFromCache(byte[] sessionId)
Called for server sessions only. Retrieves the session by its ID. Overridden by
{@link ServerSessionContext} to
- onBeforeAddSession
void onBeforeAddSession(NativeSslSession session)
Called when the given session is about to be added. Used by {@link ClientSessionContext} to
update its host-and-port based cache.
- onBeforeRemoveSession
void onBeforeRemoveSession(NativeSslSession session)
Called when a session is about to be removed. Used by {@link ClientSessionContext}
to update its host-and-port based cache.
- getSessionFromPersistentCache
NativeSslSession getSessionFromPersistentCache(byte[] sessionId)
Called for server sessions only. Retrieves the session by ID from the persistent cache.
Caches client sessions. Indexes by host and port. Users are typically looking to reuse any session for a given host and port.