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 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.Fields in io.netty.handler.ssl declared as SslContextModifier and TypeFieldDescription(package private) final SslContextSniHandler.Selection.contextprivate final SslContextDelegatingSslContext.ctxprivate final SslContextOptionalSslHandler.sslContextFields in io.netty.handler.ssl with type parameters of type SslContextModifier and TypeFieldDescriptionprivate final Mapping<? super String, ? extends SslContext> SniHandler.AsyncMappingAdapter.mappingprotected 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 bySslContextBuilder(package private) static SslContextSslContext.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, SecureRandom secureRandom, String keyStoreType, String endpointIdentificationAlgorithm, Map.Entry<SslContextOption<?>, Object>... options) static 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 bySslContextBuilder(package private) static 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, String keyStore) Creates a new server-sideSslContext.static 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 bySslContextBuilder(package private) static SslContextSslContext.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, SecureRandom secureRandom, 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 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 TypeMethodDescriptionSniHandler.AsyncMappingAdapter.map(String input, Promise<SslContext> promise) protected final voidSniHandler.onLookupComplete(ChannelHandlerContext ctx, String hostname, Future<SslContext> future) Constructors in io.netty.handler.ssl with parameters of type SslContextModifierConstructorDescriptionprotectedOptionalSslHandler(SslContext sslContext) (package private)Selection(SslContext context, String hostname) Constructor parameters in io.netty.handler.ssl with type arguments of type SslContextModifierConstructorDescriptionprivateAsyncMappingAdapter(Mapping<? super String, ? extends SslContext> mapping) SniHandler(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.