Uses of Class
io.netty.handler.ssl.SslContext
Packages that use SslContext
-
Uses of SslContext in io.netty.handler.ssl
Subclasses of SslContext in io.netty.handler.sslModifier and TypeClassDescriptionclass
Adapter class which allows to wrap anotherSslContext
and initSSLEngine
instances.final class
Deprecated.class
AnSslContext
which uses JDK's SSL/TLS implementation.final class
Deprecated.final class
A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.class
This class will use a finalizer to ensure native resources are automatically cleaned up.final class
A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.final class
A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.class
An implementation ofSslContext
which works with libraries that support the OpenSsl C library API.final class
A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.Fields in io.netty.handler.ssl declared as SslContextModifier and TypeFieldDescription(package private) final SslContext
SniHandler.Selection.context
private final SslContext
DelegatingSslContext.ctx
private final SslContext
OptionalSslHandler.sslContext
Fields in io.netty.handler.ssl with type parameters of type SslContextModifier and TypeFieldDescriptionprivate final Mapping
<? super String, ? extends SslContext> SniHandler.AsyncMappingAdapter.mapping
protected final AsyncMapping
<String, SslContext> SniHandler.mapping
Methods in io.netty.handler.ssl that return SslContextModifier and TypeMethodDescriptionSslContextBuilder.build()
Create newSslContext
instance with configured settings.static SslContext
SslContext.newClientContext()
Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider, File certChainFile) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory) Deprecated.Replaced bySslContextBuilder
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 bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(SslProvider provider, TrustManagerFactory trustManagerFactory) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(File certChainFile) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(File certChainFile, TrustManagerFactory trustManagerFactory) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newClientContext
(TrustManagerFactory trustManagerFactory) Deprecated.Replaced bySslContextBuilder
(package private) static SslContext
SslContext.newClientContextInternal
(SslProvider provider, Provider sslContextProvider, X509Certificate[] trustCert, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, String[] protocols, long sessionCacheSize, long sessionTimeout, boolean enableOcsp, String keyStoreType, Map.Entry<SslContextOption<?>, Object>... options) static SslContext
SslContext.newServerContext
(SslProvider provider, File certChainFile, File keyFile) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newServerContext
(SslProvider provider, File certChainFile, File keyFile, String keyPassword) Deprecated.Replaced bySslContextBuilder
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 bySslContextBuilder
static SslContext
SslContext.newServerContext
(SslProvider provider, File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
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 bySslContextBuilder
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 bySslContextBuilder
(package private) 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, String keyStore) Creates a new server-sideSslContext
.static SslContext
SslContext.newServerContext
(File certChainFile, File keyFile) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newServerContext
(File certChainFile, File keyFile, String keyPassword) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newServerContext
(File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
static SslContext
SslContext.newServerContext
(File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout) Deprecated.Replaced bySslContextBuilder
(package private) static SslContext
SslContext.newServerContextInternal
(SslProvider provider, Provider sslContextProvider, X509Certificate[] trustCertCollection, TrustManagerFactory trustManagerFactory, X509Certificate[] keyCertChain, PrivateKey key, String keyPassword, KeyManagerFactory keyManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout, ClientAuth clientAuth, String[] protocols, boolean startTls, boolean enableOcsp, String keyStoreType, Map.Entry<SslContextOption<?>, Object>... ctxOptions) SniHandler.sslContext()
Methods in io.netty.handler.ssl that return types with arguments of type SslContextModifier and TypeMethodDescriptionprotected Future
<SslContext> SniHandler.lookup
(ChannelHandlerContext ctx, String hostname) The default implementation will simply callAsyncMapping.map(Object, Promise)
but users can override this method to implement custom behavior.SniHandler.AsyncMappingAdapter.map
(String input, Promise<SslContext> promise) Methods in io.netty.handler.ssl with parameters of type SslContextModifier and TypeMethodDescriptionprotected 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 replacethis
SniHandler
instance with aSslHandler
.Method parameters in io.netty.handler.ssl with type arguments of type SslContextModifier and TypeMethodDescriptionSniHandler.AsyncMappingAdapter.map
(String input, Promise<SslContext> promise) protected final void
SniHandler.onLookupComplete
(ChannelHandlerContext ctx, String hostname, Future<SslContext> future) Constructors in io.netty.handler.ssl with parameters of type SslContextModifierConstructorDescriptionprotected
OptionalSslHandler
(SslContext sslContext) (package private)
Selection
(SslContext context, String hostname) Constructor parameters in io.netty.handler.ssl with type arguments of type SslContextModifierConstructorDescriptionprivate
AsyncMappingAdapter
(Mapping<? super String, ? extends SslContext> mapping) SniHandler
(AsyncMapping<? super String, ? extends SslContext> mapping) Creates a SNI detection handler with configuredSslContext
maintained byAsyncMapping
SniHandler
(AsyncMapping<? super String, ? extends SslContext> mapping, int maxClientHelloLength, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContext
maintained byAsyncMapping
SniHandler
(AsyncMapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContext
maintained byAsyncMapping
SniHandler
(DomainNameMapping<? extends SslContext> mapping) Creates a SNI detection handler with configuredSslContext
maintained byDomainNameMapping
SniHandler
(Mapping<? super String, ? extends SslContext> mapping) Creates a SNI detection handler with configuredSslContext
maintained byMapping
SniHandler
(Mapping<? super String, ? extends SslContext> mapping, int maxClientHelloLength, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContext
maintained byMapping
SniHandler
(Mapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContext
maintained byMapping
SslContextBuilder
to createJdkSslContext
instances and only useJdkSslContext
in your code.