SslContext and init SSLEngine instances.
| Modifier and Type | Field and Description |
|---|---|
| private final SslContext |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public final ApplicationProtocolNegotiator | applicationProtocolNegotiator()
Implements abstract io.
Deprecated
as a consequence of
Returns the object responsible for negotiating application layer protocols for the TLS NPN/ALPN extensions.
ApplicationProtocolNegotiator being deprecated.
|
| public final List | cipherSuites()
Implements abstract io. |
| protected abstract void | |
| protected void | |
| public final boolean | isClient()
Implements abstract io. true if and only if this context is for client-side.
|
| public final SSLEngine | newEngine(ByteBufAllocator alloc)
Implements abstract io. SSLEngine.
|
| public final SSLEngine | newEngine(ByteBufAllocator alloc, String
the non-authoritative name of the host peerHost, int the non-authoritative port peerPort)Implements abstract io. SSLEngine using advisory peer information.
|
| protected final SslHandler | newHandler(ByteBufAllocator alloc, boolean startTls)
Overrides io. |
| protected final SslHandler | newHandler(ByteBufAllocator alloc, String peerHost, int peerPort, boolean startTls)
Overrides io. |
| protected SslHandler | newHandler(ByteBufAllocator alloc, boolean startTls, Executor executor)
Overrides io. |
| protected SslHandler | newHandler(ByteBufAllocator alloc, String peerHost, int peerPort, boolean startTls, Executor executor)
Overrides io. |
| public final long | sessionCacheSize()
Returns the size of the cache used for storing SSL session objects.
|
| public final SSLSessionContext | sessionContext()
Implements abstract io. SSLSessionContext object held by this context.
|
| public final long | sessionTimeout()
Returns the timeout for the cached SSL session objects, in seconds.
|
| ctx | back to summary |
|---|---|
| private final SslContext ctx | |
| DelegatingSslContext | back to summary |
|---|---|
| protected DelegatingSslContext(SslContext ctx) | |
| applicationProtocolNegotiator | back to summary |
|---|---|
| public final ApplicationProtocolNegotiator applicationProtocolNegotiator() Implements abstract io. Doc from io. Deprecated as a consequence of Returns the object responsible for negotiating application layer protocols for the TLS NPN/ALPN extensions.
| |
| cipherSuites | back to summary |
|---|---|
| public final List Implements abstract io. Doc from io. Returns the list of enabled cipher suites, in the order of preference.
| |
| initEngine | back to summary |
|---|---|
| protected abstract void initEngine(SSLEngine engine) Init the | |
| initHandler | back to summary |
|---|---|
| protected void initHandler(SslHandler handler) Init the | |
| isClient | back to summary |
|---|---|
| public final boolean isClient() Implements abstract io. Doc from io. Returns the
| |
| newEngine | back to summary |
|---|---|
| public final SSLEngine newEngine(ByteBufAllocator alloc) Implements abstract io. Doc from io. Creates a new If | |
| newEngine | back to summary |
|---|---|
| public final SSLEngine newEngine(ByteBufAllocator alloc, String peerHost, int peerPort) Implements abstract io. Doc from io. Creates a new If | |
| newHandler | back to summary |
|---|---|
| protected final SslHandler newHandler(ByteBufAllocator alloc, boolean startTls) Overrides io. Doc from io. Create a new SslHandler.
| |
| newHandler | back to summary |
|---|---|
| protected final SslHandler newHandler(ByteBufAllocator alloc, String peerHost, int peerPort, boolean startTls) Overrides io. Doc from io. Create a new SslHandler.
| |
| newHandler | back to summary |
|---|---|
| protected SslHandler newHandler(ByteBufAllocator alloc, boolean startTls, Executor executor) Overrides io. Doc from io. Create a new SslHandler.
| |
| newHandler | back to summary |
|---|---|
| protected SslHandler newHandler(ByteBufAllocator alloc, String peerHost, int peerPort, boolean startTls, Executor executor) Overrides io.
| |
| sessionCacheSize | back to summary |
|---|---|
| public final long sessionCacheSize() Overrides io. Doc from io. Returns the size of the cache used for storing SSL session objects.
| |
| sessionContext | back to summary |
|---|---|
| public final SSLSessionContext sessionContext() Implements abstract io. Doc from io. Returns the
| |
| sessionTimeout | back to summary |
|---|---|
| public final long sessionTimeout() Overrides io. Doc from io. Returns the timeout for the cached SSL session objects, in seconds.
| |