public abstract class OpenSslSessionContext
extends java.lang.Object
implements javax.net.ssl.SSLSessionContext
SSLSessionContext
implementation.Modifier and Type | Method and Description |
---|---|
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)
Deprecated.
|
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
in interface javax.net.ssl.SSLSessionContext
public java.util.Enumeration<byte[]> getIds()
getIds
in interface javax.net.ssl.SSLSessionContext
@Deprecated public void setTicketKeys(byte[] keys)
setTicketKeys(OpenSslSessionTicketKey...)
.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()
Copyright © 2008–2018 The Netty Project. All rights reserved.