Package org.jboss.netty.handler.ssl
Class JdkSslContext
java.lang.Object
org.jboss.netty.handler.ssl.SslContext
org.jboss.netty.handler.ssl.JdkSslContext
- Direct Known Subclasses:
JdkSslClientContext,JdkSslServerContext
An
SslContext which uses JDK's SSL/TLS implementation.-
Method Summary
Modifier and TypeMethodDescriptionReturns the list of enabled cipher suites, in the order of preference.abstract SSLContextcontext()Returns the JDKSSLContextobject held by this context.final SSLEngineCreates a newSSLEngine.final SSLEngineCreates a newSSLEngineusing advisory peer information.final longReturns the size of the cache used for storing SSL session objects.final SSLSessionContextReturns the JDKSSLSessionContextobject held by this context.final longReturns the timeout for the cached SSL session objects, in seconds.Methods inherited from class org.jboss.netty.handler.ssl.SslContext
bufferPool, defaultClientProvider, defaultServerProvider, isClient, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols
-
Method Details
-
context
Returns the JDKSSLContextobject held by this context. -
sessionContext
Returns the JDKSSLSessionContextobject held by this context. -
cipherSuites
Description copied from class:SslContextReturns the list of enabled cipher suites, in the order of preference.- Specified by:
cipherSuitesin classSslContext
-
sessionCacheSize
public final long sessionCacheSize()Description copied from class:SslContextReturns the size of the cache used for storing SSL session objects.- Specified by:
sessionCacheSizein classSslContext
-
sessionTimeout
public final long sessionTimeout()Description copied from class:SslContextReturns the timeout for the cached SSL session objects, in seconds.- Specified by:
sessionTimeoutin classSslContext
-
newEngine
Description copied from class:SslContextCreates a newSSLEngine.- Specified by:
newEnginein classSslContext- Returns:
- a new
SSLEngine
-
newEngine
Description copied from class:SslContextCreates a newSSLEngineusing advisory peer information.- Specified by:
newEnginein classSslContext- Parameters:
peerHost- the non-authoritative name of the hostpeerPort- the non-authoritative port- Returns:
- a new
SSLEngine
-