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()
Creates a new
SSLEngine . |
SSLEngine |
newEngine(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.
|
bufferPool, defaultClientProvider, defaultServerProvider, isClient, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols
public abstract SSLContext context()
SSLContext
object held by this context.public final SSLSessionContext sessionContext()
SSLSessionContext
object held by this context.public final List<String> cipherSuites()
SslContext
cipherSuites
in class SslContext
public final long sessionCacheSize()
SslContext
sessionCacheSize
in class SslContext
public final long sessionTimeout()
SslContext
sessionTimeout
in class SslContext
public final SSLEngine newEngine()
SslContext
SSLEngine
.newEngine
in class SslContext
SSLEngine
public final SSLEngine newEngine(String peerHost, int peerPort)
SslContext
SSLEngine
using advisory peer information.newEngine
in class SslContext
peerHost
- the non-authoritative name of the hostpeerPort
- the non-authoritative portSSLEngine
Copyright © 2008-2016 The Netty Project. All Rights Reserved.