- java.lang.Object
-
- io.netty5.util.AbstractConstant<SslContextOption<T>>
-
- io.netty5.handler.ssl.SslContextOption<T>
-
- io.netty5.handler.ssl.OpenSslContextOption<T>
-
- Type Parameters:
T- the type of the value.
- All Implemented Interfaces:
Constant<SslContextOption<T>>,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_METHODSet theOpenSslAsyncPrivateKeyMethodto use.static OpenSslContextOption<OpenSslCertificateCompressionConfig>CERTIFICATE_COMPRESSION_ALGORITHMSSet theOpenSslCertificateCompressionConfigto use.static OpenSslContextOption<OpenSslPrivateKeyMethod>PRIVATE_KEY_METHODSet theOpenSslPrivateKeyMethodto use.static OpenSslContextOption<Boolean>TLS_FALSE_STARTIf enabled TLS false start will be enabled if supported.static OpenSslContextOption<Boolean>USE_TASKSIf enabled heavy-operations may be offloaded from theEventLoopif possible.
-
-
-
Field Detail
-
USE_TASKS
public static final OpenSslContextOption<Boolean> USE_TASKS
If enabled heavy-operations may be offloaded from theEventLoopif possible.
-
TLS_FALSE_START
public static final OpenSslContextOption<Boolean> TLS_FALSE_START
If enabled TLS false start will be enabled if supported. When TLS false start is enabled the flow ofSslHandshakeCompletionEvents may be different compared when, not enabled. This is currently only supported whenBoringSSLand ALPN is used.
-
PRIVATE_KEY_METHOD
public static final OpenSslContextOption<OpenSslPrivateKeyMethod> PRIVATE_KEY_METHOD
Set theOpenSslPrivateKeyMethodto use. This allows to offload private-key operations if needed. This is currently only supported whenBoringSSLis used.
-
ASYNC_PRIVATE_KEY_METHOD
public static final OpenSslContextOption<OpenSslAsyncPrivateKeyMethod> ASYNC_PRIVATE_KEY_METHOD
Set theOpenSslAsyncPrivateKeyMethodto use. This allows to offload private-key operations if needed. This is currently only supported whenBoringSSLis used.
-
CERTIFICATE_COMPRESSION_ALGORITHMS
public static final OpenSslContextOption<OpenSslCertificateCompressionConfig> CERTIFICATE_COMPRESSION_ALGORITHMS
Set theOpenSslCertificateCompressionConfigto 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 whenBoringSSLis used.
-
-