Class OpenSslContextOption<T>

    • Field Detail

      • USE_TASKS

        public static final OpenSslContextOption<java.lang.Boolean> USE_TASKS
        If enabled heavy-operations may be offloaded from the EventLoop 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 of SslHandshakeCompletionEvents may be different compared when, not enabled. This is currently only supported when BoringSSL and ALPN 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.
      • 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, and 4096.

        See SSL_CTX_set_tmp_dh_callback.

      • USE_JDK_PROVIDER_SIGNATURES

        public static final OpenSslContextOption<java.lang.Boolean> USE_JDK_PROVIDER_SIGNATURES
        Set the policy for handling alternative key providers (such as hardware security keys, smart cards, remote signing services, etc.) when using BoringSSL.

        Note: this feature only works when BoringSSL or AWS-LC is used.