Package | Description |
---|---|
io.netty.handler.ssl |
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. |
class |
OpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
OpenSslContext
This class will use a finalizer to ensure native resources are automatically cleaned up.
|
class |
OpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslContext
An implementation of
SslContext which works with libraries that support the
OpenSsl C library API. |
class |
ReferenceCountedOpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
Modifier and Type | Field and Description |
---|---|
protected AsyncMapping<String,SslContext> |
SniHandler.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(File certChainFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
Iterable<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,
File certChainFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
File certChainFile,
TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
File trustCertCollectionFile,
TrustManagerFactory trustManagerFactory,
File keyCertChainFile,
File keyFile,
String keyPassword,
KeyManagerFactory keyManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
File certChainFile,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
Iterable<String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(TrustManagerFactory trustManagerFactory)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(File certChainFile,
File keyFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(File certChainFile,
File keyFile,
String keyPassword)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(File certChainFile,
File keyFile,
String keyPassword,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(File certChainFile,
File keyFile,
String keyPassword,
Iterable<String> ciphers,
Iterable<String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File certChainFile,
File keyFile)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File certChainFile,
File keyFile,
String keyPassword)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File certChainFile,
File keyFile,
String keyPassword,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File certChainFile,
File keyFile,
String keyPassword,
Iterable<String> ciphers,
Iterable<String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File certChainFile,
File keyFile,
String keyPassword,
TrustManagerFactory trustManagerFactory,
Iterable<String> ciphers,
Iterable<String> nextProtocols,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
File trustCertCollectionFile,
TrustManagerFactory trustManagerFactory,
File keyCertChainFile,
File keyFile,
String keyPassword,
KeyManagerFactory keyManagerFactory,
Iterable<String> ciphers,
CipherSuiteFilter cipherFilter,
ApplicationProtocolConfig apn,
long sessionCacheSize,
long sessionTimeout)
Deprecated.
Replaced by
SslContextBuilder |
SslContext |
SniHandler.sslContext() |
Modifier and Type | Method and Description |
---|---|
protected Future<SslContext> |
SniHandler.lookup(ChannelHandlerContext ctx,
String hostname)
The default implementation will simply call
AsyncMapping.map(Object, Promise) but
users can override this method to implement custom behavior. |
Modifier and Type | Method and Description |
---|---|
protected SslHandler |
OptionalSslHandler.newSslHandler(ChannelHandlerContext context,
SslContext sslContext)
Override to configure the SslHandler eg.
|
protected SslHandler |
SniHandler.newSslHandler(SslContext context,
ByteBufAllocator allocator)
|
protected void |
SniHandler.replaceHandler(ChannelHandlerContext ctx,
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 |
---|---|
protected void |
SniHandler.onLookupComplete(ChannelHandlerContext ctx,
String hostname,
Future<SslContext> future) |
Constructor and Description |
---|
DelegatingSslContext(SslContext ctx) |
OptionalSslHandler(SslContext sslContext) |
Constructor and Description |
---|
SniHandler(AsyncMapping<? super String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(AsyncMapping<? super String,? extends SslContext> mapping,
int maxClientHelloLength,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(AsyncMapping<? super String,? extends SslContext> mapping,
long handshakeTimeoutMillis)
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 String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
SniHandler(Mapping<? super String,? extends SslContext> mapping,
int maxClientHelloLength,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
SniHandler(Mapping<? super String,? extends SslContext> mapping,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
Copyright © 2008–2024 The Netty Project. All rights reserved.