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 classDelegatingSslContextAdapter class which allows to wrap anotherSslContextand initSSLEngineinstances.classJdkSslContextAnSslContextwhich uses JDK's SSL/TLS implementation.classOpenSslContextThis class will use a finalizer to ensure native resources are automatically cleaned up.classReferenceCountedOpenSslClientContextA client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.classReferenceCountedOpenSslContextAn implementation ofSslContextwhich works with libraries that support the OpenSsl C library API.classReferenceCountedOpenSslServerContextA server-sideSslContextwhich 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. mappingMethods in io.netty5.handler.ssl that return SslContext Modifier and Type Method Description SslContextSslContextBuilder. build()Create newSslContextinstance with configured settings.static SslContextSslContext. newClientContext()Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, File certChainFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. 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 bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(File certChainFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(File certChainFile, TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(File certChainFile, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, File certChainFile, File keyFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, File certChainFile, File keyFile, String keyPassword)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, File certChainFile, File keyFile, String keyPassword, TrustManagerFactory trustManagerFactory, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. 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 bySslContextBuilderstatic SslContextSslContext. newServerContext(File certChainFile, File keyFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(File certChainFile, File keyFile, String keyPassword)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(File certChainFile, File keyFile, String keyPassword, Iterable<String> ciphers, Iterable<String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderSslContextSniHandler. 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 SslHandlerOptionalSslHandler. newSslHandler(ChannelHandlerContext context, SslContext sslContext)Override to configure the SslHandler eg.protected SslHandlerSniHandler. newSslHandler(SslContext context, BufferAllocator allocator)protected voidSniHandler. replaceHandler(ChannelHandlerContext ctx, String hostname, SslContext sslContext)The default implementation of this method will simply replacethisSniHandlerinstance with aSslHandler.Method parameters in io.netty5.handler.ssl with type arguments of type SslContext Modifier and Type Method Description protected voidSniHandler. 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 configuredSslContextmaintained byAsyncMappingSniHandler(DomainNameMapping<? extends SslContext> mapping)Creates a SNI detection handler with configuredSslContextmaintained byDomainNameMappingSniHandler(Mapping<? super String,? extends SslContext> mapping)Creates a SNI detection handler with configuredSslContextmaintained byMapping
-