Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-Djdk.nativeXDHKeyGen

Start of content that applies to Java 11 (LTS) and later This option enables or disables OpenSSL native cryptographic support for the XDH key generation algorithm.

Restrictions:

  • This algorithm is supported on Java™ 11 and later.
  • This algorithm is supported on OpenSSL 1.1.1 onwards.

Syntax

    -Djdk.nativeXDHKeyGen=[true|false]
Setting value Default
-Djdk.nativeXDHKeyGen true yes
-Djdk.nativeXDHKeyGen false

Explanation

OpenSSL support is enabled by default for the XDH key generation algorithm. If you want to turn off support for this algorithm only, set this option to false. To turn off support for this and other algorithms, see the -Djdk.nativeCrypto system property command line option.