Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: OpenJDK · https://openjdk.org/ · pkg:generic/openjdk · Last reviewed 2026-12-05 · History

Summary

  • The hybrid group X25519MLKEM768 is default in TLS 1.3 (most preferred, with a client key share) from JDK 27 and from the 25.0.5 update.1234
  • The same change is committed for 21.0.14, not released as of 2026-12-05; 21.0.13 and earlier do not have it.56
  • SecP256r1MLKEM768 and SecP384r1MLKEM1024 are available, not default.1
  • ML-KEM and ML-DSA APIs arrived in JDK 24 and were backported to 21.0.13; ML-DSA in TLS 1.3 and pure ML-KEM TLS groups are fixed in JDK 28, not released; SLH-DSA is requested (open, target 29).78910111213
  • Classical groups can be disabled with the jdk.tls.namedGroups system property or SSLParameters.setNamedGroups.3

To restrict key exchange groups, set -Djdk.tls.namedGroups="X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024".3

JDK 28 general availability is scheduled for 2027-03-09, with ML-DSA in TLS 1.3 and pure ML-KEM TLS groups.141113

Cryptographic operations

  • TLS 1.3 key agreement (JSSE, client and server; hybrid, not pure): JEP 527 defines X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024.1 Group names are in the Standard Algorithm Names spec.15
  • Default list: X25519MLKEM768, x25519, secp256r1, secp384r1, secp521r1, x448, ffdhe2048, ffdhe3072, ffdhe4096; key shares for X25519MLKEM768 and x25519. The JDK 27 guide’s handshake listing also has ffdhe6144 and ffdhe8192.13
  • The other two hybrid groups “are not enabled by default”.1 JEP 527: “It is not a goal to implement non-hybrid key exchange schemes for TLS that use ML-KEM”.1
  • TLS authentication: ML-DSA in TLS 1.3 is in no release (checked 2026-12-05); the ML-DSA JEP lists TLS as out of scope.8 Signature schemes mldsa44, mldsa65, mldsa87 are fixed in JDK 28; JAR signing with ML-DSA in JDK 26.161112
  • Signing and KEM APIs (JDK 24): KeyPairGenerator, KEM, KeyFactory for ML-KEM-512, -768, -10247; KeyPairGenerator, Signature, KeyFactory for ML-DSA-44, -65, -878. They do not change what TLS negotiates. Pre-Hash ML-DSA and context strings are excluded from the first release.8

Versions

Change Version Date Package URL Source
ML-KEM KeyPairGenerator, KEM, KeyFactory (JEP 496) 24 2025-03-18 pkg:generic/openjdk@24 717
ML-DSA KeyPairGenerator, Signature, KeyFactory (JEP 497) 24 2025-03-18 pkg:generic/openjdk@24 817
JAR files signed with ML-DSA 26 2026-03-17 pkg:generic/openjdk@26 1614
ML-KEM and ML-DSA backported (JEP 496, JEP 497) 21.0.13 2026-10-20 pkg:generic/openjdk@21.0.13 9
Hybrid TLS 1.3 key exchange, X25519MLKEM768 default (JEP 527) 25.0.5 2026-10-20 pkg:generic/openjdk@25.0.5 418
Hybrid TLS 1.3 key exchange, X25519MLKEM768 default (JEP 527) 27 2026-09-15 pkg:generic/openjdk@27 123
Hybrid TLS 1.3 key exchange backport 21.0.14 not released pkg:generic/openjdk@21.0.14 56
ML-DSA in TLS 1.3; pure ML-KEM TLS groups 28 due 2027-03-09 pkg:generic/openjdk@28 111319
  • JDK 25 reached general availability on 2025-09-16.20 Oracle’s 25.0.5 note: “The X25519MLKEM768 group is enabled by default and is the most preferred group. This feature works out of the box.”4 Temurin published 25.0.5+8 on 2026-10-22.21
  • The JDK 25 guide mentions X25519MLKEM768 only as an example value of jdk.tls.namedGroups.22

Configuration

Enabling PQC

Nothing needed on JDK 27 and 25.0.5 or later; X25519MLKEM768 is first in the default list.34 The JDK 27 guide’s example prefers two classical groups and adds SecP256r1MLKEM768:3

params.setNamedGroups(new String[] {
    "secp256r1", "x25519", "X25519MLKEM768", "SecP256r1MLKEM768" });

Check the negotiated group with -Djavax.net.debug=ssl:handshake and look for "named group": X25519MLKEM768 in the ServerHello key_share.34

Disabling classical algorithms

  • jdk.tls.namedGroups “contains a comma-separated list within quotation marks of enabled named groups in preference order”; if undefined or empty, the defaults apply.3
-Djdk.tls.namedGroups="X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024"
  • An application sets the same list per connection with SSLParameters.setNamedGroups(String[]).3
  • A peer supporting none of the listed groups cannot complete a TLS 1.3 key exchange; the effect on TLS 1.2 is not documented in the pages fetched (2026-12-05).
  • The property is also documented in the JDK 21 and 25 guides.2322 Unsupported names are not documented to raise an error; JBS “SSLParameters.setNamedGroups() silently ignores unsupported named groups; no error, no detection API” was closed as a duplicate.24
  • jdk.tls.disabledAlgorithms in java.security also applies to “named groups selection”, and “Disabled algorithms will not be negotiated for SSL/TLS connections, even if they are enabled explicitly in an application.”25 jdk.disabled.namedCurves entries can be included; the 25.0.5 file lists no ML-KEM group names.25

Vendor commitments

None found. JEP 527 says “We may implement pure ML-KEM schemes in future work”, which is not a commitment.1

Open work

All checked 2026-12-05 in JBS.

  • Pure ML-KEM TLS 1.3 groups MLKEM512, MLKEM768, MLKEM1024: fixed in JDK 28, not released; “The groups are not enabled by default.”13 Backport CSR for 17, 21 and 25 approved.19
  • ML-DSA in TLS 1.3 (mldsa44, mldsa65, mldsa87): fixed in JDK 28.1112
  • SLH-DSA: “SLH-DSA post-quantum signature algorithm” open, target 29.10
  • Composite ML-DSA in CMS (RFC 10082) and for X509 PKI (RFC 10073): open, target 29.26
  • ML-DSA pre-hash mode, context string and external-mu API: in progress, target 29.27

Proofs

References

  1. JEP 527: Post-Quantum Hybrid Key Exchange for TLS 1.3 (Release 27, Closed / Delivered). https://openjdk.org/jeps/527 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  2. JDK 27 project page: “JDK 27 reached General Availability on 15 September 2026”; lists JEP 527. https://openjdk.org/projects/jdk/27/ (accessed 2026-12-05) ↩ ↩2

  3. Java SE 27 JSSE Reference Guide, “Customizing the Supported Named Groups for TLS/DTLS Key Exchange”. https://docs.oracle.com/en/java/javase/27/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10

  4. Oracle JDK 25.0.5 release notes, 2026-10-20, “Post-Quantum Hybrid Key Exchange for TLS 1.3”. https://www.oracle.com/java/technologies/javase/25-0-5-relnotes.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  5. openjdk/jdk21u commit 198fb99, “8314323: Implement JEP 527: TLS 1.3 Hybrid Key Exchange”, 2026-11-13. https://github.com/openjdk/jdk21u/commit/198fb990321e2ab8be9c4f3715812f805cf44556 (accessed 2026-12-05) ↩ ↩2

  6. JBS JDK-8397354, backport, fix version 21.0.14. https://bugs.openjdk.org/browse/JDK-8397354 (accessed 2026-12-05); Oracle 21 update release notes index, latest listed 21.0.13.1. https://www.oracle.com/java/technologies/javase/21u-relnotes.html (accessed 2026-12-05) ↩ ↩2

  7. JEP 496: Quantum-Resistant Module-Lattice-Based Key Encapsulation Mechanism (Release 24, Closed / Delivered). https://openjdk.org/jeps/496 (accessed 2026-12-05) ↩ ↩2 ↩3

  8. JEP 497: Quantum-Resistant Module-Lattice-Based Digital Signature Algorithm (Release 24, Closed / Delivered). https://openjdk.org/jeps/497 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  9. Oracle JDK 21.0.13 release notes, 2026-10-20; bug list includes JDK-8298390 (JEP 496) and JDK-8298387 (JEP 497). https://www.oracle.com/java/technologies/javase/21-0-13-relnotes.html (accessed 2026-12-05) ↩ ↩2

  10. JBS JDK-8298389, “SLH-DSA post-quantum signature algorithm”, open, fix version 29. https://bugs.openjdk.org/browse/JDK-8298389 (accessed 2026-12-05) ↩ ↩2

  11. JBS JDK-8381641, “ML-DSA in TLS 1.3”, resolved, fix version 28. https://bugs.openjdk.org/browse/JDK-8381641 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  12. JBS JDK-8391166, CSR “ML-DSA in TLS 1.3”, approved. https://bugs.openjdk.org/browse/JDK-8391166 (accessed 2026-12-05) ↩ ↩2 ↩3

  13. JBS JDK-8398874, release note “Post-Quantum ML-KEM Key Exchange for TLS 1.3”; JDK-8371736, “Implement ML-KEM Named Groups for TLS 1.3”, fix version 28. https://bugs.openjdk.org/browse/JDK-8398874 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4

  14. JDK 26 project page, general availability 2026/03/17; JDK 28 project page, rampdown phase one, general availability 2027/03/09. https://openjdk.org/projects/jdk/26/ and https://openjdk.org/projects/jdk/28/ (accessed 2026-12-05) ↩ ↩2

  15. Java Security Standard Algorithm Names, JDK 27, “Named Groups”. https://docs.oracle.com/en/java/javase/27/docs/specs/security/standard-names.html (accessed 2026-12-05) ↩

  16. JBS JDK-8349732, “Add support for JARs signed with ML-DSA”, fix version 26. https://bugs.openjdk.org/browse/JDK-8349732 (accessed 2026-12-05) ↩ ↩2

  17. JDK 24 project page, general availability 2025/03/18, lists JEP 496 and JEP 497. https://openjdk.org/projects/jdk/24/ (accessed 2026-12-05) ↩ ↩2

  18. openjdk/jdk25u commit 83e90e7, “8314323: Implement JEP 527: TLS 1.3 Hybrid Key Exchange”, 2026-08-03, contained in tag jdk-25.0.5-ga. https://github.com/openjdk/jdk25u/commit/83e90e7d76e9ca804384d47a4d529e91f79d8981 (accessed 2026-12-05) ↩

  19. JBS JDK-8396111, CSR “Implement ML-KEM Named Groups for TLS 1.3”, approved for 8, 11, 17, 21, 25 pools and 28. https://bugs.openjdk.org/browse/JDK-8396111 (accessed 2026-12-05) ↩ ↩2

  20. JDK 25 project page, general availability 2025/09/16. https://openjdk.org/projects/jdk/25/ (accessed 2026-12-05) ↩

  21. Adoptium Temurin 25 binaries releases, jdk-25.0.5+8 published 2026-10-22. https://github.com/adoptium/temurin25-binaries/releases (accessed 2026-12-05) ↩

  22. Java SE 25 JSSE Reference Guide, jdk.tls.namedGroups. https://docs.oracle.com/en/java/javase/25/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩ ↩2

  23. Java SE 21 JSSE Reference Guide, jdk.tls.namedGroups. https://docs.oracle.com/en/java/javase/21/security/java-secure-socket-extension-jsse-reference-guide.html (accessed 2026-12-05) ↩

  24. JBS JDK-8389911, “SSLParameters.setNamedGroups() silently ignores unsupported named groups; no error, no detection API; persists in JDK 27-ea after JEP 527”, closed as duplicate. https://bugs.openjdk.org/browse/JDK-8389911 (accessed 2026-12-05) ↩

  25. java.security at openjdk/jdk25u commit fda2314 (tag jdk-25.0.5-ga), jdk.tls.disabledAlgorithms and jdk.disabled.namedCurves. https://github.com/openjdk/jdk25u/blob/fda231468e56663992785ec199a6efb8eca3cc7a/src/java.base/share/conf/security/java.security (accessed 2026-12-05) ↩ ↩2

  26. JBS JDK-8396905 (composite ML-DSA in CMS) and JDK-8371797 (composite ML-DSA for X.509), open, fix version 29. https://bugs.openjdk.org/browse/JDK-8396905 (accessed 2026-12-05) ↩

  27. JBS JDK-8351351 and JDK-8381859, ML-DSA pre-hash mode, context string and external-mu API, in progress, fix version 29. https://bugs.openjdk.org/browse/JDK-8351351 (accessed 2026-12-05) ↩


Edit: OpenJDK

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.