Uses of Class
io.netty5.handler.ssl.SslContext
-
Packages that use SslContext Package Description io.netty5.handler.ssl -
-
Uses of SslContext in io.netty5.handler.ssl
Subclasses of SslContext in io.netty5.handler.ssl Modifier and Type Class Description class
DelegatingSslContext
Adapter class which allows to wrap anotherSslContext
and initSSLEngine
instances.class
JdkSslContext
AnSslContext
which uses JDK's SSL/TLS implementation.class
OpenSslContext
This class will use a finalizer to ensure native resources are automatically cleaned up.class
ReferenceCountedOpenSslClientContext
A client-sideSslContext
which uses OpenSSL's SSL/TLS implementation.class
ReferenceCountedOpenSslContext
An implementation ofSslContext
which works with libraries that support the OpenSsl C library API.class
ReferenceCountedOpenSslServerContext
A server-sideSslContext
which uses OpenSSL's SSL/TLS implementation.Fields in io.netty5.handler.ssl with type parameters of type SslContext Modifier and Type Field Description protected AsyncMapping<String,SslContext>
SniHandler. mapping
Methods in io.netty5.handler.ssl that return SslContext Modifier and Type Method Description SslContext
SslContextBuilder. 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
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
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
SslContext
SniHandler. sslContext()
Methods in io.netty5.handler.ssl that return types with arguments of type SslContext Modifier and Type Method Description protected 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.Methods in io.netty5.handler.ssl with parameters of type SslContext Modifier and Type Method Description protected SslHandler
OptionalSslHandler. newSslHandler(ChannelHandlerContext context, SslContext sslContext)
Override to configure the SslHandler eg.protected SslHandler
SniHandler. newSslHandler(SslContext context, BufferAllocator 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.netty5.handler.ssl with type arguments of type SslContext Modifier and Type Method Description protected void
SniHandler. onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<? extends SslContext> future)
Constructors in io.netty5.handler.ssl with parameters of type SslContext Constructor Description DelegatingSslContext(SslContext ctx)
OptionalSslHandler(SslContext sslContext)
Constructor parameters in io.netty5.handler.ssl with type arguments of type SslContext Constructor Description SniHandler(AsyncMapping<? super String,? extends SslContext> mapping)
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
-