Package io.netty.handler.ssl
Class OpenSslContextOption<T>
- java.lang.Object
-
- io.netty.util.AbstractConstant<SslContextOption<T>>
-
- io.netty.handler.ssl.SslContextOption<T>
-
- io.netty.handler.ssl.OpenSslContextOption<T>
-
- Type Parameters:
T
- the type of the value.
- All Implemented Interfaces:
Constant<SslContextOption<T>>
,java.lang.Comparable<SslContextOption<T>>
public final class OpenSslContextOption<T> extends SslContextOption<T>
-
-
Field Summary
Fields Modifier and Type Field Description static OpenSslContextOption<OpenSslAsyncPrivateKeyMethod>
ASYNC_PRIVATE_KEY_METHOD
Set theOpenSslAsyncPrivateKeyMethod
to use.static OpenSslContextOption<OpenSslCertificateCompressionConfig>
CERTIFICATE_COMPRESSION_ALGORITHMS
Set theOpenSslCertificateCompressionConfig
to use.static OpenSslContextOption<java.lang.String[]>
GROUPS
Set the groups that should be used.static OpenSslContextOption<java.lang.Integer>
MAX_CERTIFICATE_LIST_BYTES
Set the maximum number of bytes that is allowed during the handshake for certificate chain.static OpenSslContextOption<OpenSslPrivateKeyMethod>
PRIVATE_KEY_METHOD
Set theOpenSslPrivateKeyMethod
to use.static OpenSslContextOption<java.lang.Boolean>
TLS_FALSE_START
If enabled TLS false start will be enabled if supported.static OpenSslContextOption<java.lang.Integer>
TMP_DH_KEYLENGTH
Set the desired length of the Diffie-Hellman ephemeral session keys.static OpenSslContextOption<java.lang.Boolean>
USE_TASKS
If enabled heavy-operations may be offloaded from theEventLoop
if possible.
-
-
-
Field Detail
-
USE_TASKS
public static final OpenSslContextOption<java.lang.Boolean> USE_TASKS
If enabled heavy-operations may be offloaded from theEventLoop
if possible.
-
TLS_FALSE_START
public static final OpenSslContextOption<java.lang.Boolean> TLS_FALSE_START
If enabled TLS false start will be enabled if supported. When TLS false start is enabled the flow ofSslHandshakeCompletionEvent
s may be different compared when, not enabled. This is currently only supported whenBoringSSL
and ALPN is used.
-
PRIVATE_KEY_METHOD
public static final OpenSslContextOption<OpenSslPrivateKeyMethod> PRIVATE_KEY_METHOD
Set theOpenSslPrivateKeyMethod
to use. This allows to offload private-key operations if needed. This is currently only supported whenBoringSSL
is used.
-
ASYNC_PRIVATE_KEY_METHOD
public static final OpenSslContextOption<OpenSslAsyncPrivateKeyMethod> ASYNC_PRIVATE_KEY_METHOD
Set theOpenSslAsyncPrivateKeyMethod
to use. This allows to offload private-key operations if needed. This is currently only supported whenBoringSSL
is used.
-
CERTIFICATE_COMPRESSION_ALGORITHMS
public static final OpenSslContextOption<OpenSslCertificateCompressionConfig> CERTIFICATE_COMPRESSION_ALGORITHMS
Set theOpenSslCertificateCompressionConfig
to use. This allows for the configuration of certificate compression algorithms which should be used, the priority of those algorithms and the directions in which they should be used. This is currently only supported whenBoringSSL
is used.
-
MAX_CERTIFICATE_LIST_BYTES
public static final OpenSslContextOption<java.lang.Integer> MAX_CERTIFICATE_LIST_BYTES
Set the maximum number of bytes that is allowed during the handshake for certificate chain.
-
GROUPS
public static final OpenSslContextOption<java.lang.String[]> GROUPS
Set the groups that should be used. This will override curves set with-Djdk.tls.namedGroups
.
-
TMP_DH_KEYLENGTH
public static final OpenSslContextOption<java.lang.Integer> TMP_DH_KEYLENGTH
Set the desired length of the Diffie-Hellman ephemeral session keys. This will override the key length set with-Djdk.tls.ephemeralDHKeySize
.The only supported values are
512
,1024
,2048
, and4096
.
-
-