Package | Description |
---|---|
io.netty.handler.ssl |
SSL ·
TLS implementation based on
SSLEngine |
Modifier and Type | Class and Description |
---|---|
class |
DelegatingSslContext
Adapter class which allows to wrap another
SslContext and init SSLEngine instances. |
class |
JdkSslClientContext
Deprecated.
Use
SslContextBuilder to create JdkSslContext instances and only
use JdkSslContext in your code. |
class |
JdkSslContext
An
SslContext which uses JDK's SSL/TLS implementation. |
class |
JdkSslServerContext
Deprecated.
Use
SslContextBuilder to create JdkSslContext instances and only
use JdkSslContext in your code. |
Modifier and Type | Field and Description |
---|---|
(package private) SslContext |
SniHandler.Selection.context |
private SslContext |
DelegatingSslContext.ctx |
private SslContext |
OptionalSslHandler.sslContext |
Modifier and Type | Field and Description |
---|---|
protected AsyncMapping<java.lang.String,SslContext> |
SniHandler.mapping |
private Mapping<? super java.lang.String,? extends SslContext> |
SniHandler.AsyncMappingAdapter.mapping |
Modifier and Type | Method and Description |
---|---|
SslContext |
SslContextBuilder.build()
Create new
SslContext instance with configured settings. |
static SslContext |
SslContext.newClientContext()
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(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)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(javax.net.ssl.TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
(package private) static SslContext |
SslContext.newClientContextInternal(SslProvider provider,
java.security.Provider sslContextProvider,
java.security.cert.X509Certificate[] trustCert,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.security.cert.X509Certificate[] keyCertChain,
java.security.PrivateKey key,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
java.lang.String[] protocols,
long sessionCacheSize,
long sessionTimeout,
boolean enableOcsp) |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(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)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(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)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
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)
Deprecated.
Replaced by
SslContextBuilder |
(package private) static SslContext |
SslContext.newServerContextInternal(SslProvider provider,
java.security.Provider sslContextProvider,
java.security.cert.X509Certificate[] trustCertCollection,
javax.net.ssl.TrustManagerFactory trustManagerFactory,
java.security.cert.X509Certificate[] keyCertChain,
java.security.PrivateKey key,
java.lang.String keyPassword,
javax.net.ssl.KeyManagerFactory keyManagerFactory,
java.lang.Iterable<java.lang.String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout,
ClientAuth clientAuth,
java.lang.String[] protocols,
boolean startTls,
boolean enableOcsp) |
SslContext |
SniHandler.sslContext() |
Modifier and Type | Method and Description |
---|---|
protected Future<SslContext> |
SniHandler.lookup(ChannelHandlerContext ctx,
java.lang.String hostname)
The default implementation will simply call
AsyncMapping.map(Object, Promise) but
users can override this method to implement custom behavior. |
Future<SslContext> |
SniHandler.AsyncMappingAdapter.map(java.lang.String input,
Promise<SslContext> promise) |
Modifier and Type | Method and Description |
---|---|
protected SslHandler |
OptionalSslHandler.newSslHandler(ChannelHandlerContext context,
SslContext sslContext)
Override to configure the SslHandler eg.
|
protected void |
SniHandler.replaceHandler(ChannelHandlerContext ctx,
java.lang.String hostname,
SslContext sslContext)
The default implementation of this method will simply replace
this SniHandler
instance with a SslHandler . |
Modifier and Type | Method and Description |
---|---|
Future<SslContext> |
SniHandler.AsyncMappingAdapter.map(java.lang.String input,
Promise<SslContext> promise) |
protected void |
SniHandler.onLookupComplete(ChannelHandlerContext ctx,
java.lang.String hostname,
Future<SslContext> future) |
Constructor and Description |
---|
DelegatingSslContext(SslContext ctx) |
OptionalSslHandler(SslContext sslContext) |
Selection(SslContext context,
java.lang.String hostname) |
Constructor and Description |
---|
AsyncMappingAdapter(Mapping<? super java.lang.String,? extends SslContext> mapping) |
SniHandler(AsyncMapping<? super java.lang.String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(DomainNameMapping<? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by DomainNameMapping |
SniHandler(Mapping<? super java.lang.String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |