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, nextProtocolspublic 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()
SslContextcipherSuites 在类中 SslContextpublic final long sessionCacheSize()
SslContextsessionCacheSize 在类中 SslContextpublic final long sessionTimeout()
SslContextsessionTimeout 在类中 SslContextpublic final javax.net.ssl.SSLEngine newEngine()
SslContextSSLEngine.newEngine 在类中 SslContextSSLEnginepublic final javax.net.ssl.SSLEngine newEngine(java.lang.String peerHost,
int peerPort)
SslContextSSLEngine using advisory peer information.newEngine 在类中 SslContextpeerHost - the non-authoritative name of the hostpeerPort - the non-authoritative portSSLEngine