构造器和说明 |
---|
FactorialClientInitializer(SslContext sslCtx) |
FactorialServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpCorsServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpStaticFileServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpHelloWorldServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpSnoopClientInitializer(SslContext sslCtx) |
HttpSnoopServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
HttpUploadClientInitializer(SslContext sslCtx) |
HttpUploadServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
WebSocketServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
WebSocketServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
Http2StaticFileServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
Http2ClientInitializer(SslContext sslCtx,
int maxContentLength) |
构造器和说明 |
---|
Http2ClientFrameInitializer(SslContext sslCtx) |
构造器和说明 |
---|
Http2ServerInitializer(SslContext sslCtx) |
Http2ServerInitializer(SslContext sslCtx,
int maxHttpContentLength) |
构造器和说明 |
---|
Http2ServerInitializer(SslContext sslCtx) |
Http2ServerInitializer(SslContext sslCtx,
int maxHttpContentLength) |
构造器和说明 |
---|
Http2ServerInitializer(SslContext sslCtx) |
Http2ServerInitializer(SslContext sslCtx,
int maxHttpContentLength) |
构造器和说明 |
---|
PortUnificationServerHandler(SslContext sslCtx) |
构造器和说明 |
---|
SecureChatClientInitializer(SslContext sslCtx) |
SecureChatServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
SpdyClientInitializer(SslContext sslCtx,
HttpResponseClientHandler httpResponseHandler) |
构造器和说明 |
---|
SpdyServerInitializer(SslContext sslCtx) |
构造器和说明 |
---|
TelnetClientInitializer(SslContext sslCtx) |
TelnetServerInitializer(SslContext sslCtx) |
限定符和类型 | 方法和说明 |
---|---|
static SslContext |
ServerUtil.buildSslContext() |
构造器和说明 |
---|
WorldClockClientInitializer(SslContext sslCtx) |
WorldClockServerInitializer(SslContext sslCtx) |
限定符和类型 | 类和说明 |
---|---|
class |
DelegatingSslContext
Adapter class which allows to wrap another
SslContext and init SSLEngine instances. |
class |
JdkSslClientContext
已过时。
Use
SslContextBuilder to create JdkSslContext instances and only
use JdkSslContext in your code. |
class |
JdkSslContext
An
SslContext which uses JDK's SSL/TLS implementation. |
class |
JdkSslServerContext
已过时。
Use
SslContextBuilder to create JdkSslContext instances and only
use JdkSslContext in your code. |
class |
OpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
OpenSslContext
This class will use a finalizer to ensure native resources are automatically cleaned up.
|
class |
OpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslClientContext
A client-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
class |
ReferenceCountedOpenSslContext
An implementation of
SslContext which works with libraries that support the
OpenSsl C library API. |
class |
ReferenceCountedOpenSslServerContext
A server-side
SslContext which uses OpenSSL's SSL/TLS implementation. |
限定符和类型 | 字段和说明 |
---|---|
protected AsyncMapping<java.lang.String,SslContext> |
SniHandler.mapping |
限定符和类型 | 方法和说明 |
---|---|
SslContext |
SslContextBuilder.build()
Create new
SslContext instance with configured settings. |
static SslContext |
SslContext.newClientContext()
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
java.io.File certChainFile,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(SslProvider provider,
javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newClientContext(javax.net.ssl.TrustManagerFactory trustManagerFactory)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.newServerContext(SslProvider provider,
java.io.File certChainFile,
java.io.File keyFile,
java.lang.String keyPassword)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
static SslContext |
SslContext.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)
已过时。
Replaced by
SslContextBuilder |
SslContext |
SniHandler.sslContext() |
限定符和类型 | 方法和说明 |
---|---|
protected Future<SslContext> |
SniHandler.lookup(ChannelHandlerContext ctx,
java.lang.String hostname)
The default implementation will simply call
AsyncMapping.map(Object, Promise) but
users can override this method to implement custom behavior. |
限定符和类型 | 方法和说明 |
---|---|
protected SslHandler |
OptionalSslHandler.newSslHandler(ChannelHandlerContext context,
SslContext sslContext)
Override to configure the SslHandler eg.
|
protected SslHandler |
SniHandler.newSslHandler(SslContext context,
ByteBufAllocator allocator)
|
protected void |
SniHandler.replaceHandler(ChannelHandlerContext ctx,
java.lang.String hostname,
SslContext sslContext)
The default implementation of this method will simply replace
this SniHandler
instance with a SslHandler . |
限定符和类型 | 方法和说明 |
---|---|
protected void |
SniHandler.onLookupComplete(ChannelHandlerContext ctx,
java.lang.String hostname,
Future<SslContext> future) |
构造器和说明 |
---|
DelegatingSslContext(SslContext ctx) |
OptionalSslHandler(SslContext sslContext) |
构造器和说明 |
---|
SniHandler(AsyncMapping<? super java.lang.String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(AsyncMapping<? super java.lang.String,? extends SslContext> mapping,
int maxClientHelloLength,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(AsyncMapping<? super java.lang.String,? extends SslContext> mapping,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by AsyncMapping |
SniHandler(DomainNameMapping<? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by DomainNameMapping |
SniHandler(Mapping<? super java.lang.String,? extends SslContext> mapping)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
SniHandler(Mapping<? super java.lang.String,? extends SslContext> mapping,
int maxClientHelloLength,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
SniHandler(Mapping<? super java.lang.String,? extends SslContext> mapping,
long handshakeTimeoutMillis)
Creates a SNI detection handler with configured
SslContext
maintained by Mapping |
限定符和类型 | 方法和说明 |
---|---|
void |
SocketSslEchoTest.testSslEcho(SslContext serverCtx,
SslContext clientCtx,
SocketSslEchoTest.Renegotiation renegotiation,
boolean serverUsesDelegatedTaskExecutor,
boolean clientUsesDelegatedTaskExecutor,
boolean autoRead,
boolean useChunkedWriteHandler,
boolean useCompositeByteBuf,
TestInfo testInfo) |
void |
SocketSslGreetingTest.testSslGreeting(ServerBootstrap sb,
Bootstrap cb,
SslContext serverCtx,
SslContext clientCtx,
boolean delegate) |
void |
SocketSslGreetingTest.testSslGreeting(SslContext serverCtx,
SslContext clientCtx,
boolean delegate,
TestInfo testInfo) |
void |
SocketSslClientRenegotiateTest.testSslRenegotiationRejected(ServerBootstrap sb,
Bootstrap cb,
SslContext serverCtx,
SslContext clientCtx,
boolean delegate) |
void |
SocketSslClientRenegotiateTest.testSslRenegotiationRejected(SslContext serverCtx,
SslContext clientCtx,
boolean delegate,
TestInfo testInfo) |
void |
SocketSslSessionReuseTest.testSslSessionReuse(ServerBootstrap sb,
Bootstrap cb,
SslContext serverCtx,
SslContext clientCtx) |
void |
SocketSslSessionReuseTest.testSslSessionReuse(SslContext serverCtx,
SslContext clientCtx,
TestInfo testInfo) |
void |
SocketStartTlsTest.testStartTls(ServerBootstrap sb,
Bootstrap cb,
SslContext serverCtx,
SslContext clientCtx) |
void |
SocketStartTlsTest.testStartTls(SslContext serverCtx,
SslContext clientCtx,
TestInfo testInfo) |
void |
SocketStartTlsTest.testStartTlsNotAutoRead(ServerBootstrap sb,
Bootstrap cb,
SslContext serverCtx,
SslContext clientCtx) |
void |
SocketStartTlsTest.testStartTlsNotAutoRead(SslContext serverCtx,
SslContext clientCtx,
TestInfo testInfo) |