Uses of Class
io.netty.handler.ssl.SslContext
-
Packages that use SslContext Package Description io.netty.handler.ssl SSL · TLS implementation based onSSLEngine -
-
Uses of SslContext in io.netty.handler.ssl
Subclasses of SslContext in io.netty.handler.ssl Modifier and Type Class Description classDelegatingSslContextAdapter class which allows to wrap anotherSslContextand initSSLEngineinstances.classJdkSslClientContextDeprecated.classJdkSslContextAnSslContextwhich uses JDK's SSL/TLS implementation.classJdkSslServerContextDeprecated.Fields in io.netty.handler.ssl declared as SslContext Modifier and Type Field Description (package private) SslContextSniHandler.Selection. contextprivate SslContextDelegatingSslContext. ctxprivate SslContextOptionalSslHandler. sslContextFields in io.netty.handler.ssl with type parameters of type SslContext Modifier and Type Field Description private Mapping<? super java.lang.String,? extends SslContext>SniHandler.AsyncMappingAdapter. mappingprotected AsyncMapping<java.lang.String,SslContext>SniHandler. mappingMethods in io.netty.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, java.io.File certChainFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, java.io.File trustCertCollectionFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.io.File keyCertChainFile, java.io.File keyFile, java.lang.String keyPassword, javax.net.ssl.KeyManagerFactory keyManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.lang.Iterable<java.lang.String> ciphers, java.lang.Iterable<java.lang.String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(SslProvider provider, javax.net.ssl.TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(java.io.File certChainFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(java.io.File certChainFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.lang.Iterable<java.lang.String> ciphers, java.lang.Iterable<java.lang.String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newClientContext(javax.net.ssl.TrustManagerFactory trustManagerFactory)Deprecated.Replaced bySslContextBuilder(package private) static SslContextSslContext. newClientContextInternal(SslProvider provider, java.security.Provider sslContextProvider, java.security.cert.X509Certificate[] trustCert, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.security.cert.X509Certificate[] keyCertChain, java.security.PrivateKey key, java.lang.String keyPassword, javax.net.ssl.KeyManagerFactory keyManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, java.lang.String[] protocols, long sessionCacheSize, long sessionTimeout, boolean enableOcsp, java.lang.String keyStoreType)static SslContextSslContext. newServerContext(SslProvider provider, java.io.File certChainFile, java.io.File keyFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword, java.lang.Iterable<java.lang.String> ciphers, java.lang.Iterable<java.lang.String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.lang.Iterable<java.lang.String> ciphers, java.lang.Iterable<java.lang.String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(SslProvider provider, java.io.File trustCertCollectionFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.io.File keyCertChainFile, java.io.File keyFile, java.lang.String keyPassword, javax.net.ssl.KeyManagerFactory keyManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilder(package private) static SslContextSslContext. newServerContext(SslProvider provider, java.io.File trustCertCollectionFile, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.io.File keyCertChainFile, java.io.File keyFile, java.lang.String keyPassword, javax.net.ssl.KeyManagerFactory keyManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout, java.lang.String keyStore)Creates a new server-sideSslContext.static SslContextSslContext. newServerContext(java.io.File certChainFile, java.io.File keyFile)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilderstatic SslContextSslContext. newServerContext(java.io.File certChainFile, java.io.File keyFile, java.lang.String keyPassword, java.lang.Iterable<java.lang.String> ciphers, java.lang.Iterable<java.lang.String> nextProtocols, long sessionCacheSize, long sessionTimeout)Deprecated.Replaced bySslContextBuilder(package private) static SslContextSslContext. newServerContextInternal(SslProvider provider, java.security.Provider sslContextProvider, java.security.cert.X509Certificate[] trustCertCollection, javax.net.ssl.TrustManagerFactory trustManagerFactory, java.security.cert.X509Certificate[] keyCertChain, java.security.PrivateKey key, java.lang.String keyPassword, javax.net.ssl.KeyManagerFactory keyManagerFactory, java.lang.Iterable<java.lang.String> ciphers, CipherSuiteFilter cipherFilter, ApplicationProtocolConfig apn, long sessionCacheSize, long sessionTimeout, ClientAuth clientAuth, java.lang.String[] protocols, boolean startTls, boolean enableOcsp, java.lang.String keyStoreType)SslContextSniHandler. sslContext()Methods in io.netty.handler.ssl that return types with arguments of type SslContext Modifier and Type Method Description protected Future<SslContext>SniHandler. lookup(ChannelHandlerContext ctx, java.lang.String hostname)The default implementation will simply callAsyncMapping.map(Object, Promise)but users can override this method to implement custom behavior.Future<SslContext>SniHandler.AsyncMappingAdapter. map(java.lang.String input, Promise<SslContext> promise)Methods in io.netty.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, ByteBufAllocator allocator)protected voidSniHandler. replaceHandler(ChannelHandlerContext ctx, java.lang.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 SslContext Modifier and Type Method Description Future<SslContext>SniHandler.AsyncMappingAdapter. map(java.lang.String input, Promise<SslContext> promise)protected voidSniHandler. onLookupComplete(ChannelHandlerContext ctx, java.lang.String hostname, Future<SslContext> future)Constructors in io.netty.handler.ssl with parameters of type SslContext Constructor Description DelegatingSslContext(SslContext ctx)OptionalSslHandler(SslContext sslContext)Selection(SslContext context, java.lang.String hostname)Constructor parameters in io.netty.handler.ssl with type arguments of type SslContext Constructor Description AsyncMappingAdapter(Mapping<? super java.lang.String,? extends SslContext> mapping)SniHandler(AsyncMapping<? super java.lang.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 java.lang.String,? extends SslContext> mapping)Creates a SNI detection handler with configuredSslContextmaintained byMapping
-