public abstract class JdkSslContext extends SslContext
SslContext
which uses JDK's SSL/TLS implementation.限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.lang.String> |
cipherSuites()
Returns the list of enabled cipher suites, in the order of preference.
|
abstract javax.net.ssl.SSLContext |
context()
Returns the JDK
SSLContext object held by this context. |
javax.net.ssl.SSLEngine |
newEngine()
Creates a new
SSLEngine . |
javax.net.ssl.SSLEngine |
newEngine(java.lang.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.
|
javax.net.ssl.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 javax.net.ssl.SSLContext context()
SSLContext
object held by this context.public final javax.net.ssl.SSLSessionContext sessionContext()
SSLSessionContext
object held by this context.public final java.util.List<java.lang.String> cipherSuites()
SslContext
cipherSuites
在类中 SslContext
public final long sessionCacheSize()
SslContext
sessionCacheSize
在类中 SslContext
public final long sessionTimeout()
SslContext
sessionTimeout
在类中 SslContext
public final javax.net.ssl.SSLEngine newEngine()
SslContext
SSLEngine
.newEngine
在类中 SslContext
SSLEngine
public final javax.net.ssl.SSLEngine newEngine(java.lang.String peerHost, int peerPort)
SslContext
SSLEngine
using advisory peer information.newEngine
在类中 SslContext
peerHost
- the non-authoritative name of the hostpeerPort
- the non-authoritative portSSLEngine