Uses of Class
io.netty.handler.ssl.SslContext
Packages that use SslContext
Package
Description
QUIC implementation
-
Uses of SslContext in io.netty.handler.codec.quic
Subclasses of SslContext in io.netty.handler.codec.quic -
Uses of SslContext in io.netty.handler.ssl
Subclasses of SslContext in io.netty.handler.sslModifier and TypeClassDescriptionclassAdapter class which allows to wrap anotherSslContextand initSSLEngineinstances.final classDeprecated.classAnSslContextwhich uses JDK's SSL/TLS implementation.final classDeprecated.final classA client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.classThis class will use a finalizer to ensure native resources are automatically cleaned up.final classA server-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.final classA client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.classAn implementation ofSslContextwhich works with libraries that support the OpenSsl C library API.final classA server-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.Subclasses with type arguments of type SslContext in io.netty.handler.sslModifier and TypeClassDescriptionclassEnables SNI (Server Name Indication) extension for server side SSL.Fields in io.netty.handler.ssl with type parameters of type SslContextModifier and TypeFieldDescriptionprotected final AsyncMapping<String, SslContext> SniHandler.mappingMethods in io.netty.handler.ssl that return SslContextModifier and TypeMethodDescriptionSslContextBuilder.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 bySslContextBuilderSniHandler.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.Methods in io.netty.handler.ssl with parameters of type SslContextModifier and TypeMethodDescriptionprotected SslHandlerOptionalSslHandler.newSslHandler(ChannelHandlerContext context, SslContext sslContext) Override to configure the SslHandler eg.protected SslHandlerSniHandler.newSslHandler(SslContext context, ByteBufAllocator 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.netty.handler.ssl with type arguments of type SslContextModifier and TypeMethodDescriptionprotected final voidSniHandler.onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<SslContext> future) Constructors in io.netty.handler.ssl with parameters of type SslContextConstructor parameters in io.netty.handler.ssl with type arguments of type SslContextModifierConstructorDescriptionSniHandler(AsyncMapping<? super String, ? extends SslContext> mapping) Creates a SNI detection handler with configuredSslContextmaintained byAsyncMappingSniHandler(AsyncMapping<? super String, ? extends SslContext> mapping, int maxClientHelloLength, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContextmaintained byAsyncMappingSniHandler(AsyncMapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis) 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 byMappingSniHandler(Mapping<? super String, ? extends SslContext> mapping, int maxClientHelloLength, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContextmaintained byMappingSniHandler(Mapping<? super String, ? extends SslContext> mapping, long handshakeTimeoutMillis) Creates a SNI detection handler with configuredSslContextmaintained byMapping
SslContextBuilderto createJdkSslContextinstances and only useJdkSslContextin your code.