程序包 | 说明 |
---|---|
org.jboss.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
限定符和类型 | 方法和说明 |
---|---|
static SslProvider |
SslContext.defaultClientProvider()
Returns the default client-side implementation provider currently in use.
|
static SslProvider |
SslContext.defaultServerProvider()
Returns the default server-side implementation provider currently in use.
|
static SslProvider |
SslProvider.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SslProvider[] |
SslProvider.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
static SslContext |
SslContext.newClientContext(SslProvider provider)
Creates a new client-side
SslContext . |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile)
Creates a new client-side
SslContext . |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
Creates a new client-side
SslContext . |
static SslContext |
SslContext.newClientContext(SslProvider provider,
SslBufferPool bufPool,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Creates a new client-side
SslContext . |
static SslContext |
SslContext.newClientContext(SslProvider provider,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
Creates a new client-side
SslContext . |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile)
Creates a new server-side
SslContext . |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
Creates a new server-side
SslContext . |
static SslContext |
SslContext.newServerContext(SslProvider provider,
SslBufferPool bufPool,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Creates a new server-side
SslContext . |