程序包 | 说明 |
---|---|
io.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 boolean |
SslProvider.isAlpnSupported(SslProvider provider)
|
static boolean |
SslProvider.isOptionSupported(SslProvider sslProvider,
SslContextOption<?> option)
|
static boolean |
SslProvider.isTlsv13Supported(SslProvider sslProvider)
|
static boolean |
SslProvider.isTlsv13Supported(SslProvider sslProvider,
java.security.Provider provider)
|
static SslContext |
SslContext.newClientContext(SslProvider provider)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File trustCertCollectionFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
java.lang.Iterable<java.lang.String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File trustCertCollectionFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.io.File keyCertChainFile,
java.io.File keyFile,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
已过时。
Replaced by
SslContextBuilder |
SslContextBuilder |
SslContextBuilder.sslProvider(SslProvider provider)
The
SslContext implementation to use. |