Class OpenSslContextOption<T>

    • Field Detail

      • USE_TASKS

        public static final OpenSslContextOption<Boolean> USE_TASKS
        If enabled heavy-operations may be offloaded from the EventLoop if possible.
      • MAX_CERTIFICATE_LIST_BYTES

        public static final OpenSslContextOption<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<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<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.