public abstract class OpenSslSessionContext
extends java.lang.Object
implements javax.net.ssl.SSLSessionContext
SSLSessionContext
implementation.限定符和类型 | 方法和说明 |
---|---|
java.util.Enumeration<byte[]> |
getIds() |
javax.net.ssl.SSLSession |
getSession(byte[] bytes) |
abstract boolean |
isSessionCacheEnabled()
Return
true if caching of SSL sessions is enabled, false otherwise. |
abstract void |
setSessionCacheEnabled(boolean enabled)
Enable or disable caching of SSL sessions.
|
void |
setTicketKeys(byte[] keys)
|
void |
setTicketKeys(OpenSslSessionTicketKey... keys)
Sets the SSL session ticket keys of this context.
|
OpenSslSessionStats |
stats()
Returns the stats of this context.
|
public javax.net.ssl.SSLSession getSession(byte[] bytes)
getSession
在接口中 javax.net.ssl.SSLSessionContext
public java.util.Enumeration<byte[]> getIds()
getIds
在接口中 javax.net.ssl.SSLSessionContext
@Deprecated public void setTicketKeys(byte[] keys)
public void setTicketKeys(OpenSslSessionTicketKey... keys)
public abstract void setSessionCacheEnabled(boolean enabled)
public abstract boolean isSessionCacheEnabled()
true
if caching of SSL sessions is enabled, false
otherwise.public OpenSslSessionStats stats()