Vendor: Legion of the Bouncy Castle · https://www.bouncycastle.org/ · pkg:maven/org.bouncycastle/bcprov-jdk18on · Last reviewed 2026-12-05 · History
Summary
- ML-KEM, ML-DSA and SLH-DSA are available in the Java library from 1.79 and the C# library from 2.5.0.123
- Java BCJSSE offers the hybrid group X25519MLKEM768 first with a key share, default from 1.87.14
- SecP256r1MLKEM768 and SecP384r1MLKEM1024 are in the default candidate list from 1.86; pure groups (
MLKEM512,MLKEM768,MLKEM1024) are available but off unless configured.14 - TLS authentication with ML-DSA (Java 1.82) and SLH-DSA (Java 1.83) is available, off by default.14
- C# has hybrid ECDHE-MLKEM and ML-DSA/SLH-DSA in TLS 1.3 available from 2.7.0, but its default group lists are classical only (checked 2026-12-05).356
To drop classical groups in BCJSSE, set
-Djdk.tls.namedGroups="X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024"or callBCSSLParameters.setNamedGroups().4
Cryptographic operations
- Java BCJSSE key agreement: TLS 1.3 and DTLS 1.3. Hybrid groups
X25519MLKEM768,SecP256r1MLKEM768,SecP384r1MLKEM1024; pureMLKEM512,MLKEM768,MLKEM1024. Default listX25519MLKEM768, x25519, x448, secp256r1, secp384r1, secp521r1, ...with key shares forX25519MLKEM768andx25519; “The pure ML-KEM groups are not offered unless named in the list.”4 The 1.86 notes say pure groups are left out “following TLS working group feedback that a key exchange should retain a classical component”.1 - Java authentication: ML-DSA and SLH-DSA schemes are “off by default in BCJSSE and enabled with the
jdk.tls.client.SignatureSchemes/jdk.tls.server.SignatureSchemesproperties orBCSSLParameters.setSignatureSchemes()”.4 - Java provider: ML-KEM, ML-DSA and SLH-DSA (including pre-hash) are in the
BCprovider and lightweight API;1 generators default to ML-KEM-768 and ML-DSA-65; composite ML-DSA (RFC 10073), CMS, X.509 and X-Wing (X25519 and ML-KEM-768) are listed.4 - C#: ML-KEM, ML-DSA, SLH-DSA from 2.5.0; TLS 1.3 hybrid ECDHE-MLKEM, ML-DSA, SLH-DSA and
curveSM2MLKEM768from 2.7.0.3 At commitf3e3589the client and serverGetSupportedGroupslist only classical groups (x25519,x448,secp256r1,secp384r1,ffdhe*).56 The Java document says likewise of the low-level classes: “DefaultTlsClient and DefaultTlsServer list the classical groups only, so an application overrides them to add the ML-KEM groups.”4
Versions
Java; package URLs use jdk18on artifacts, BCJSSE is in bctls-jdk18on.17
| Change | Version | Date | Package URL | Source |
|---|---|---|---|---|
| Initial (draft) ML-KEM in TLS; X-Wing hybrid KEM | 1.78 | 2024-04-07 | pkg:maven/org.bouncycastle/bcprov-jdk18on@1.78 |
1 |
ML-KEM, ML-DSA, SLH-DSA (incl. pre-hash) in BC provider and lightweight API |
1.79 | 2024-10-30 | pkg:maven/org.bouncycastle/bcprov-jdk18on@1.79 |
1 |
BCJSSE: draft hybrid ECDHE-MLKEM (draft-ietf-tls-ecdhe-mlkem-00), updated draft ML-KEM groups; CMS signed-data with ML-DSA |
1.81 | 2025-06-04 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.81 |
1 |
BCJSSE: ML-DSA in TLS 1.3 (draft-ietf-tls-mldsa-00) |
1.82 | 2025-09-17 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.82 |
1 |
BCJSSE: SLH-DSA in TLS 1.3 (draft-reddy-tls-slhdsa-01) |
1.83 | 2025-11-27 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.83 |
1 |
BCJSSE: curveSM2MLKEM768; TLS uses javax.crypto.KEM when available |
1.84 | 2026-04-14 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.84 |
1 |
BCJSSE: SecP256r1MLKEM768 and SecP384r1MLKEM1024 appended to default candidates; ML-KEM groups treated as FIPS approved |
1.86 | 2026-09-11 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.86 |
1 |
BCJSSE: X25519MLKEM768 first among default groups, key share in first ClientHello |
1.87 | 2026-11-11 | pkg:maven/org.bouncycastle/bctls-jdk18on@1.87 |
17 |
C#, from crypto/ReleaseNotes.md.3
| Change | Version | Date | Package URL | Source |
|---|---|---|---|---|
| ML-DSA, ML-KEM, SLH-DSA (incl. pre-hash); draft ML-KEM in TLS; Kyber removed | 2.5.0 | 2024-12-01 | pkg:nuget/BouncyCastle.Cryptography@2.5.0 |
3 |
| CMS draft support for ML-DSA and SLH-DSA signed-data | 2.6.0 | 2025-05-15 | pkg:nuget/BouncyCastle.Cryptography@2.6.0 |
3 |
TLS 1.3 hybrid ECDHE-MLKEM; ML-DSA and SLH-DSA in TLS 1.3; curveSM2MLKEM768 |
2.7.0 | 2026-07-30 | pkg:nuget/BouncyCastle.Cryptography@2.7.0 |
3 |
- Java 1.88 is listed as “2026, TBD” and is not on Maven Central as of 2026-12-05 (1.87 is latest); C# 2.8.0 is “TBD”.1873
- The 1.81 notes: “BCJSSE: Draft support for hybrid ECDHE-MLKEM (draft-ietf-tls-ecdhe-mlkem-00).” They do not say whether the group was default before 1.86 or 1.87.1 The specifications document says the hybrid groups of RFC 10024 are supported.4
Configuration
Enabling PQC
-Djdk.tls.namedGroups="X25519MLKEM768,SecP384r1MLKEM1024,MLKEM1024"
- Early key share:
org.bouncycastle.jsse.client.earlyKeySharesorsetEarlyKeyShares(); server order:org.bouncycastle.jsse.useNamedGroupsOrderorsetUseNamedGroupsOrder(true); signature schemes as above (names not verified).4
Disabling classical algorithms
Vendor commitments
No dated commitment or roadmap found (checked 2026-12-05). The Java 1.72 notes said PQC algorithms “are still under development” and not for “anything long term”.1
Open work
Checked 2026-12-05.
- Java: pull request 1996 (draft-kwiatkowski-tls-ecdhe-mlkem-03) open since 2025-02-14, groups ship from 1.81;9 pull request and request for six SLH-DSA parameter sets from NIST SP 800-230 open.1011
- C#: “PQC hybrid key support” pull request, “(preliminary)”, open since 2024-09-11;12 RFC 9980 post-quantum OpenPGP issue and pull request open.1314
- Specifications: “FN-DSA (FIPS 206) is in development; both are provided in pre-standard form”, with HQC.4
References
-
Bouncy Castle Java release notes,
docs/releasenotes.md, at bcgit/bc-java commit 118a29d. https://github.com/bcgit/bc-java/blob/118a29d930da975e9c7e72126dfbd92c10fdd26f/docs/releasenotes.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 -
Bouncy Castle Java release notes, Version 1.79 (2024-10-30): “The PQC algorithms, ML-KEM, ML-DSA (including pre-hash), and SLH-DSA (including pre-hash) have been added to the BC provider and the lightweight API.” Same document as 1. (accessed 2026-12-05) ↩
-
Bouncy Castle C# release notes,
crypto/ReleaseNotes.md, at bcgit/bc-csharp commit f3e3589. https://github.com/bcgit/bc-csharp/blob/f3e358902233c538bf62d522254ecd93d7a20694/crypto/ReleaseNotes.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 -
Bouncy Castle Java specifications,
docs/specifications.md, sections on post-quantum key exchange in TLS and BCJSSE properties, at commit 118a29d. https://github.com/bcgit/bc-java/blob/118a29d930da975e9c7e72126dfbd92c10fdd26f/docs/specifications.md (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 -
bc-csharp
crypto/src/tls/AbstractTlsClient.cslines 159-180 at commit f3e3589. https://github.com/bcgit/bc-csharp/blob/f3e358902233c538bf62d522254ecd93d7a20694/crypto/src/tls/AbstractTlsClient.cs#L159-L180 (accessed 2026-12-05) ↩ ↩2 ↩3 -
bc-csharp
crypto/src/tls/AbstractTlsServer.cslines 495-499 at commit f3e3589. https://github.com/bcgit/bc-csharp/blob/f3e358902233c538bf62d522254ecd93d7a20694/crypto/src/tls/AbstractTlsServer.cs#L495-L499 (accessed 2026-12-05) ↩ ↩2 ↩3 -
Maven Central metadata for
bcprov-jdk18on, latest and release 1.87, updated 2026-11-11. https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk18on/maven-metadata.xml (accessed 2026-12-05) ↩ ↩2 ↩3 -
Maven Central metadata for
bctls-jdk18onandbcpkix-jdk18on, latest and release 1.87, updated 2026-11-11. https://repo1.maven.org/maven2/org/bouncycastle/bctls-jdk18on/maven-metadata.xml (accessed 2026-12-05) ↩ -
bc-java pull request 1996, “TLS: Initial work on draft-kwiatkowski-tls-ecdhe-mlkem-03”, open. https://github.com/bcgit/bc-java/pull/1996 (accessed 2026-12-05) ↩
-
bc-java pull request 2292, “add six new SLH-DSA parameter sets from NIST SP 800-230”, open. https://github.com/bcgit/bc-java/pull/2292 (accessed 2026-12-05) ↩
-
bc-java issue 2402, “Support additional SLH-DSA parameter sets from NIST FIPS 800-230”, open. https://github.com/bcgit/bc-java/issues/2402 (accessed 2026-12-05) ↩
-
bc-csharp pull request 565, “PQC hybrid key support”, open. https://github.com/bcgit/bc-csharp/pull/565 (accessed 2026-12-05) ↩
-
bc-csharp issue 714, “Support for RFC 9980 - Post-Quantum Cryptography in OpenPGP”, open. https://github.com/bcgit/bc-csharp/issues/714 (accessed 2026-12-05) ↩
-
bc-csharp pull request 715, “Add RFC 9580 version 6 and RFC 9980 post-quantum OpenPGP”, open. https://github.com/bcgit/bc-csharp/pull/715 (accessed 2026-12-05) ↩