public abstract class JdkSslContext extends SslContext
SslContext which uses JDK's SSL/TLS implementation.| Modifier and Type | Method and Description |
|---|---|
List<String> |
cipherSuites()
Returns the list of enabled cipher suites, in the order of preference.
|
abstract SSLContext |
context()
Returns the JDK
SSLContext object held by this context. |
SSLEngine |
newEngine(ByteBufAllocator alloc)
Creates a new
SSLEngine. |
SSLEngine |
newEngine(ByteBufAllocator alloc,
String peerHost,
int peerPort)
Creates a new
SSLEngine using advisory peer information. |
long |
sessionCacheSize()
Returns the size of the cache used for storing SSL session objects.
|
SSLSessionContext |
sessionContext()
Returns the JDK
SSLSessionContext object held by this context. |
long |
sessionTimeout()
Returns the timeout for the cached SSL session objects, in seconds.
|
defaultClientProvider, defaultServerProvider, isClient, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocolspublic abstract SSLContext context()
SSLContext object held by this context.public final SSLSessionContext sessionContext()
SSLSessionContext object held by this context.public final List<String> cipherSuites()
SslContextcipherSuites in class SslContextpublic final long sessionCacheSize()
SslContextsessionCacheSize in class SslContextpublic final long sessionTimeout()
SslContextsessionTimeout in class SslContextpublic final SSLEngine newEngine(ByteBufAllocator alloc)
SslContextSSLEngine.newEngine in class SslContextSSLEnginepublic final SSLEngine newEngine(ByteBufAllocator alloc, String peerHost, int peerPort)
SslContextSSLEngine using advisory peer information.newEngine in class SslContextpeerHost - the non-authoritative name of the hostpeerPort - the non-authoritative portSSLEngineCopyright © 2008–2014 The Netty Project. All rights reserved.