public abstract class OpenSSLSessionContext extends Object implements SSLSessionContext
SSLSessionContext
implementation.Modifier and Type | Method and Description |
---|---|
Enumeration<byte[]> |
getIds() |
SSLSession |
getSession(byte[] bytes) |
abstract boolean |
isSessionCacheEnabled() |
abstract void |
setSessionCacheEnabled(boolean enabled)
Enable or disable caching of SSL sessions.
|
void |
setTicketKeys(byte[] keys)
Sets the SSL session ticket keys of this context.
|
OpenSSLSessionStats |
stats() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSessionCacheSize, getSessionTimeout, setSessionCacheSize, setSessionTimeout
public SSLSession getSession(byte[] bytes)
getSession
in interface SSLSessionContext
public Enumeration<byte[]> getIds()
getIds
in interface SSLSessionContext
public void setTicketKeys(byte[] keys)
keys
- The session ticket keyspublic abstract void setSessionCacheEnabled(boolean enabled)
enabled
- true
to enable caching, false
to disablepublic abstract boolean isSessionCacheEnabled()
true
if caching of SSL sessions is enabled, false
otherwise.public OpenSSLSessionStats stats()
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.