Does Bouncy Castle support post-quantum cryptography?
For key exchange, the answer depends on which edition and version your application loads. In Bouncy Castle Java 1.87, dated 2026-11-11, the BCJSSE TLS provider offers the X25519MLKEM768 hybrid first by default, with no extra round trip, according to the Java 1.87 release post. Java 1.81, dated 2025-06-09, had already added ML-KEM-only and hybrid ML-KEM with classical cipher suites for TLS, based on IETF drafts. C# .NET 2.7.0, dated 2026-08-07, adds hybrid ML-KEM key exchange for TLS 1.3. These entries cover key exchange only. They say nothing about the certificates that authenticate a server, so record the exact version in your inventory row and confirm it against the release notes for that line.
Signatures and certificates lag behind. ML-DSA client authentication in TLS is experimental in Java 1.82, announced 2025-09-23, and it is based on draft-ietf-tls-mldsa, so do not treat it as production support. C# .NET 2.7.0 adds ML-DSA and SLH-DSA authentication for TLS 1.3. For Java FIPS, the vendor roadmap, checked 2026-12-03, lists ML-KEM, ML-DSA and SLH-DSA as added in bc-fips 2.2.0. That release is labeled early access and currently under test, with no firm release date. The module on NIST CMVP certificate 4943 is BC-FJA 2.1.1, so a FIPS review should confirm which module line it would rely on.
The vendor has not published a firm release date for bc-fips 2.2.0. Its C# .NET FIPS roadmap lists a planned 2.0.0 that adds ML-KEM, ML-DSA and SLH-DSA in approved mode under FIPS 140-3, with no dates given. The vendor FIPS FAQ, as checked for this page, says nothing about post-quantum algorithms. Because Bouncy Castle is a library, what a server or client negotiates depends on the host application's configuration. Write down each deployment's edition (Java, Java LTS, Java FIPS, C# .NET or C# .NET FIPS) and exact version, then check the TLS provider and enabled cipher suites in the running application. Ask the vendor in writing for dates on any FIPS-mode post-quantum support you need.
Which Bouncy Castle versions offer post-quantum key exchange and signatures
This table compares Bouncy Castle release lines by edition, post-quantum key exchange, post-quantum signatures or certificates, default setting and source date. Read each row for its own version and edition, because a feature listed for one edition is not automatically listed for another. Where a release post does not state the default, the cell says so and the setting must be confirmed in the release notes. Key exchange with ML-KEM appears in Java and C# releases, while the FIPS editions were early access or planned as of 2026-12-03.
| Release line, edition and date | Post-quantum key exchange | Post-quantum signatures or certificates | On by default or opt-in |
|---|---|---|---|
| Java 1.81, Java edition, 2025-06-09 | ML-KEM-only and hybrid ML-KEM with classical cipher suites in JSSE, based on IETF drafts | Finalized PKCS#8 private key formats for ML-KEM, ML-DSA and SLH-DSA, and ML-DSA and SLH-DSA signatures in CMS SignedData | Default not stated. Confirm in the 1.81 release notes. |
| Java 1.82, Java edition, 2025-09-23 | Not stated for this release. Confirm in the 1.82 release notes. | Experimental ML-DSA client authentication in TLS, based on draft-ietf-tls-mldsa | Default not stated. Confirm in the 1.82 release notes. |
| Java 1.84, Java edition, 2026-05-12 | ML-KEM and NTRU for Java 17 users through the Java KEM API | Not stated for this release. Confirm in the 1.84 release notes. | Default not stated. Confirm in the 1.84 release notes. |
| Java 1.87, Java edition, 2026-11-11 | X25519MLKEM768 hybrid offered first by default in BCJSSE, with no extra round trip | Signature composites and hybrids listed as specifications only | On by default for X25519MLKEM768 in BCJSSE. Confirm other defaults in the 1.87 release notes. |
| C# .NET 2.6.1, C# edition, 2025-06-09 | ML-KEM-only TLS; hybrid still in progress on this date | Finalized PKCS#8 private key formats for ML-KEM, ML-DSA and SLH-DSA, and ML-DSA and SLH-DSA signatures in CMS SignedData | Default not stated. Confirm in the 2.6.1 release notes. |
| C# .NET 2.7.0, C# edition, 2026-08-07 | Hybrid ML-KEM key exchange for TLS 1.3 | ML-DSA and SLH-DSA authentication for TLS 1.3 | Default not stated. Confirm in the 2.7.0 release notes. |
| bc-fips 2.2.0, Java FIPS edition, no firm date | ML-KEM listed as added; early access and currently under test | ML-DSA and SLH-DSA listed as added; early access and currently under test | Default not stated. No firm release date given. Confirm with the vendor. |
| C# .NET FIPS 2.0.0, C# FIPS edition, planned, no dates | Planned ML-KEM support in approved mode under FIPS 140-3 | Planned ML-DSA and SLH-DSA support in approved mode under FIPS 140-3 | Default not stated. No dates given. Confirm with the vendor. |
| BC-FJA 2.1.1, Java FIPS edition, CMVP certificate 4943 | Not tied to this version in the NIST CMVP certificate 4943 record. | Not tied to this version in the NIST CMVP certificate 4943 record. Confirm current module coverage with the vendor. | Not stated for this version. Confirm with the vendor. |
Which post-quantum algorithms Bouncy Castle implements and where each applies
Each card names the algorithm, the identifier or release where the vendor documents it, and the interface where it applies. The TLS entries cover only connections opened through BCJSSE in Java or the TLS API in C# .NET, inside the host application. The vendor pages name no VPN, IPsec, SSH or management interface, and ML-KEM-1024 and ML-DSA-87 are not mentioned on the vendor pages checked on 2026-12-03.
ML-KEM for TLS key exchange
ML-KEM (FIPS 203) covers key exchange in a TLS handshake only, and it does not sign certificates. Bouncy Castle Java 1.81 added ML-KEM-only and hybrid cipher suites to JSSE, and Java 1.87, dated 2026-11-11, offers the X25519MLKEM768 hybrid first by default with no extra round trip. C# .NET supported ML-KEM-only TLS by 2025-06-09, and C# .NET 2.7.0, dated 2026-08-07, adds hybrid ML-KEM key exchange. Check the negotiated group in a handshake test on the edition your host application loads.
Java 1.87 release postML-DSA for authentication and signing
ML-DSA (FIPS 204), with identifiers in RFC 9881, covers X.509 keys, CMS SignedData and TLS client authentication. Java 1.81 and C# .NET 2.6.1, dated 2025-06-09, added ML-DSA signatures in CMS SignedData and finalized PKCS#8 private key formats. Java 1.82, announced 2025-09-23, added experimental ML-DSA client authentication based on draft-ietf-tls-mldsa, and C# .NET 2.7.0 adds ML-DSA authentication for TLS 1.3. Before relying on the Java client authentication path, confirm that its experimental status fits your change control and test the client certificate chain end to end.
Java 1.82 release postSLH-DSA for TLS 1.3 and CMS
SLH-DSA (FIPS 205), with identifiers in RFC 9909, is covered for key formats and CMS SignedData, with the PKCS#8 and CMS support added in Java 1.81 and C# .NET 2.6.1, dated 2025-06-09. For TLS 1.3 authentication, the vendor's C# .NET 2.7.0 release post, dated 2026-08-07, is the only entry checked, and it names C# .NET only. Confirm the edition and version on your TLS server before you plan a signature change, and check which key formats your PKI tooling can read.
C# 2.7.0 release postLMS, HSS and XMSS signatures
LMS/HSS and XMSS (RFC 9802) are listed as implemented on the vendor specifications page, next to the identifiers for certificates and keys. That page does not tie them to a TLS handshake, so treat them as key and certificate algorithms until the vendor's Java or C# documentation confirms a TLS use. These are stateful schemes, so ask the vendor how the host application stores and advances signing state before anything depends on them.
NTRU through the Java KEM API
NTRU is available to Java 17 users through the Java KEM API from Bouncy Castle Java 1.84, dated 2026-05-12, alongside ML-KEM. The release post describes that access through the KEM API and does not name a TLS cipher suite for NTRU. Confirm with the vendor whether any TLS path uses it before you list NTRU as a TLS key exchange algorithm in an inventory, and record the Java version that exposes it.
Specification-only and restricted algorithms
HQC, FrodoKEM, Classic McEliece, composite ML-DSA (RFC 10073) and X-Wing appear on the vendor specifications page without a supported TLS or certificate configuration in the material checked. Bouncy Castle Java 1.87 lists signature composites and hybrids only as specifications. HQC keys and ciphertexts from earlier releases are not compatible with 1.87, HQC follows the 2026-10-12 specification on the path to FIPS 207, and Classic McEliece is deprecated. Do not plan production use from the specifications list alone.
Specifications pageWhat post-quantum support in Bouncy Castle depends on
Bouncy Castle is a library and JCA/JCE provider, so it has no management listener and no update channel of its own. Whether a post-quantum algorithm runs depends on the application that loads Bouncy Castle, the Bouncy Castle artifact and version that application bundles, and the settings the application passes in. Your inventory should record all three, along with the JDK or .NET runtime underneath. The BC About page states that Bouncy Castle is available under the MIT license. The supplied facts give no licensing terms for the FIPS editions, so confirm those with the vendor in writing before you record a license position for them.
The runtime decides which post-quantum code paths are reachable. Bouncy Castle Java 1.84, dated 2026-05-12, makes ML-KEM and NTRU available to Java 17 users through the Java KEM API. On JDK 25, a report in bc-java issue 2252 described X25519MLKEM768 set in jdk.tls.namedGroups being rejected beside the SUN providers. The issue was closed on 2026-04-09, and the maintainer stated that BC TLS code now uses ML-KEM through javax.crypto.KEM when that API is present. Test the named group on your own JDK build and provider order, and repeat the test after any JDK update, because the result depends on the JDK as well as on the Bouncy Castle version.
The FIPS editions are separate artifacts. The Java FIPS module BC-FJA and the C# .NET FIPS edition are distributed apart from the general Java and C# .NET releases, so a version number from the general edition does not tell you what a FIPS module contains. The vendor's Java FIPS roadmap lists bc-fips 2.2.0 as adding ML-KEM, ML-DSA and SLH-DSA, labeled early access and currently under test, with no firm release date. The C# .NET FIPS roadmap lists a planned 2.0.0 release adding those algorithms in approved mode under FIPS 140-3, with no dates given. Check which artifact your application loads, and ask the vendor for the current status of each algorithm in that artifact.
How to turn on post-quantum key exchange in Bouncy Castle
This sequence takes a Bouncy Castle deployment from an unrecorded setup to a TLS connection that negotiates a post-quantum key exchange group, and ends with a check of which group was negotiated. The steps cover key exchange only, so certificates and signatures are handled separately on other pages of this section.
Record the edition and exact version
The owner of each Java or C# service records which Bouncy Castle edition it uses: Java, Java LTS, Java FIPS, C# .NET or C# .NET FIPS. Record the exact version from the build file or the deployed artifact, because every later step depends on the release. FIPS editions follow their own roadmaps, so check the edition's roadmap page before assuming it carries the same algorithms as the general release. Done when the edition and version appear in your inventory record for each service that performs TLS.
Move to a release with the feature
Upgrade to a release that carries the TLS feature you need. According to the Bouncy Castle Java 1.81 release notes (dated 2025-06-09), Java 1.81 is the earliest release with ML-KEM cipher suites for TLS in JSSE, covering ML-KEM-only and hybrid suites. Java 1.87 (dated 2026-11-11) offers the X25519MLKEM768 hybrid first by default in BCJSSE, with no extra round trip. For C# .NET, release 2.7.0 (dated 2026-08-07) adds hybrid ML-KEM key exchange for TLS 1.3. Done when the version your service runs matches the release you chose, verified against your build file.
Add the BCJSSE provider
In a Java application, add the BCJSSE TLS provider through the BouncyCastleJsseProvider class, then reference it by the provider name BCJSSE wherever your TLS context is created. The FIPS editions use a FIPS mode in BCJSSE that restricts it to cipher suites and parameters usable in a FIPS-compliant TLS setup, so expect fewer options there than in the general edition. Confirm the exact setup for C# .NET editions in their own documentation. Done when a test handshake in your own environment shows that BCJSSE handled the connection, checked in your logs or the provider documentation.
Review the named groups order setting
If a TLS 1.3 server should choose key-share groups by its own preference order, review the JSSE_USE_NAMED_GROUPS_ORDER setting in org.bouncycastle.util.Properties. According to the Properties javadoc checked on 2026-12-03, the default is off, and turning it on makes the server choose groups by its own preference order. Leave the default in place if a client-driven choice is acceptable for your service, and change it only after you have confirmed its behavior in your release. Done when the chosen value is recorded in your server configuration inventory and the test in the final step matches it.
Check the JDK 25 issue resolution
If the server runs on JDK 25 with the SUN providers, read bc-java issue 2252 and follow its resolution. The report was that X25519MLKEM768 set in jdk.tls.namedGroups was rejected on Java 25 beside the SUN providers. The maintainer closed the issue on 2026-04-09, stating that BC TLS code now uses ML-KEM through javax.crypto.KEM when that API is present. Confirm in your own test environment that your Bouncy Castle release and JDK combination negotiates the hybrid group before you rely on it. Done when your test shows the group negotiated on JDK 25, or you have a documented exception for that service.
Confirm the negotiated group in tests
Run a test client you control against the server, then check which key-exchange group was negotiated and compare it with the server logs. The Bouncy Castle sources used for this page do not name a command or log line for this check, so ask the vendor or the product documentation for the exact method your edition and version support. Test each TLS 1.3 configuration you use and record the negotiated group with the date, edition and version. Done when the server log and the client agree on the group for each test case, and the record is kept with your inventory.
Decision path: check the edition, the version and the negotiated group
Rust and Kotlin have no post-quantum statement in the sources, and the FIPS editions show roadmap entries only. Java and C# editions go to a version check: below the release that adds TLS key exchange, the path ends at upgrade planning. At or above it, confirm that the BCJSSE provider or the C# TLS API is in the connection path and that the host application configures it. Then read the negotiated group, which is either hybrid or ML-KEM-only. Signatures branch: experimental ML-DSA client authentication in Java 1.82, TLS 1.3 authentication in C# .NET 2.7.0, or no published support. These end states are status only, and none is a compliance result.
Status outcomes for Bouncy Castle TLS key exchange and signatures.
What Bouncy Castle does not yet support or has not published, as of 2026-12-03
The items below are not yet implemented, or have not been published by the Bouncy Castle project, as of 2026-12-03. Each one names the edition or component it applies to, so a reviewer can check the version in use. Unpublished as of this date does not mean absent from future releases, so recheck these points before each assessment.
DTLS 1.3 is opt-in
Java 1.87 offers DTLS 1.3 (RFC 9147) only as an opt-in feature, and its release post states that 0-RTT and connection IDs are not yet implemented. Any application that runs DTLS should confirm which DTLS version it negotiates and whether it relies on either feature. Do not assume that enabling DTLS 1.3 in a build gives you the full RFC feature set. Check the release notes for the version you deploy before you plan datagram traffic around it.
Java 1.87 release postSignature composites and hybrids
In Java 1.87, signature composites and hybrids appear only as specifications, so the release does not ship them as working code. The specifications page lists composite ML-DSA (RFC 10073) apart from the algorithms it marks as implemented. This gap covers signatures only: the hybrid X25519MLKEM768 key exchange in BCJSSE is a separate item. Check any design that expects a composite signature against the version you build, and ask the vendor when it will be implemented.
Specifications pageHQC keys and ciphertexts
HQC keys and ciphertexts created with earlier releases are not compatible with Java 1.87, so existing HQC material needs a plan before you upgrade. The release states that HQC follows the 2026-10-12 specification on the path to FIPS 207. Inventory any HQC keys or ciphertexts your application stores or exchanges, and ask the vendor how they should be handled across the upgrade. Ask too whether a later release will change that format again.
Classic McEliece is deprecated
Java 1.87 marks Classic McEliece as deprecated in Java 1.87, so new designs should not start from it. The specifications page lists Classic McEliece beside the algorithms it does not mark as implemented, so confirm which algorithm name and provider your application requests. Review any existing code that selects it and record where it appears in your inventory. Ask the vendor whether a removal or replacement date has been set.
FIPS module roadmap is undated
The Java FIPS roadmap, checked 2026-12-03, lists bc-fips 2.2.0 as adding ML-KEM, ML-DSA and SLH-DSA, labeled early access and under test, with no firm release date. The C# .NET FIPS roadmap lists a planned 2.0.0 release with the same three algorithms in approved mode, and gives no dates. The NIST listing for certificate 4943 names BC-FJA 2.1.1, so check which module version any validation claim covers before you rely on it.
Java FIPS roadmapNo vendor statement on CNSA 2.0
As of 2026-12-03, the vendor FIPS FAQ says nothing about post-quantum algorithms, and the vendor pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. A federal or CNSA 2.0 reviewer therefore has no vendor statement on those parameter sets to cite. Ask Bouncy Castle in writing which parameter sets it plans to support, and file the written answer with its date. Do not infer a position from the algorithm names in the release notes.
FIPS FAQWhat changes for clients and monitoring when post-quantum key exchange is on
Java 1.87 changes the first handshake that a client sends. Java 1.87 release post states that BCJSSE now offers the X25519MLKEM768 hybrid first by default, with no extra round trip, so a client built on BCJSSE will show a different first key share group than it did before the upgrade. Treat each client class as a separate test case. JVM services that load BCJSSE form one class, and internal tools built on another TLS stack form another, even when they run the same application version. For each class, capture the ClientHello before and after the upgrade in a staging environment, and confirm with the owner of every peer, load balancer and logging tool that the larger hybrid key share is accepted and parsed. Keep the server settings from the configuration section in view during these tests, because the server chooses which group to use from the client's offer.
Two other cases need their own decisions. Java 1.81 added JSSE support for ML-KEM-only cipher suites and for hybrid ML-KEM with classical suites, based on IETF drafts, so a client that enables an ML-KEM-only suite must be tested separately from the hybrid default in 1.87. Confirm that each server in the path accepts that suite before enabling it on any client. Java 1.82 added ML-DSA client authentication in TLS, which the release post labels experimental, so limit it to test environments and check the release notes of each later version before any wider use. This page gives no middlebox results. Test load balancers, inspection devices and proxies in your own network path, with the hybrid handshake and with ML-KEM-only suites, and record which ones fail, drop or downgrade the connection.
For monitoring, Java 1.87 changes what the generated CBOM reports. Quantum-vulnerable assets are marked at security level 0, and PQC algorithms report a NIST security category through PQCParameters, so an inventory job can separate the two groups by reading those fields. Set the org.bouncycastle.constraints.quantum_vulnerable property deliberately. Its default is none, and the documented options are nist, log, legacy and reject. The reject option can break connections that use classical algorithms, so read the javadoc for each option before enabling it, and test the chosen value in staging with classical peers included in the test set. Record the value in your configuration baseline so that an audit can see what was enforced and when it changed.
What to do next if your Bouncy Castle version does or does not support it
Each situation starts from the version and edition in your inventory and ends with a record you can check. The Java 1.87 and C# .NET 2.7.0 paths test hybrid key exchange before any setting changes. Older release lines and FIPS builds keep classical settings documented while the upgrade path and isolation plan are set.
Confirm your release line and edition
The platform or application engineer confirms which Bouncy Castle artifact each deployment loads at runtime, including the edition (Java, Java LTS, Java FIPS, C# .NET or C# .NET FIPS) and the exact version. Check the resolved dependency tree and the JAR or assembly on the running host, because a build file can name one version while a container image ships another. This step is done when each deployment has one line with its edition, version and runtime, and you know whether it is Java 1.87, C# .NET 2.7.0 or an earlier line.
Test hybrid negotiation with each client class
The TLS or platform engineer runs a handshake from each client class the service faces, such as browsers, JVM services or batch jobs, and records the key-exchange group each one negotiates. On Java 1.87, BCJSSE offers X25519MLKEM768 first by default, with no extra round trip. On C# .NET 2.7.0, hybrid ML-KEM key exchange for TLS 1.3 is added. When the JSSE_USE_NAMED_GROUPS_ORDER setting is on, a TLS 1.3 server chooses key-share groups by its own preference order, and it defaults to off. This test covers key exchange only, and certificates need a separate check. Done when every client class has a recorded negotiated group and a pass or fail result.
Record version and edition in inventory
The inventory owner adds one row per service with the Bouncy Castle edition, the exact version from the first step, the date of the check, the runtime and the TLS provider name in use, such as BCJSSE. Record the dated source next to each fact, such as the release post or the download page. Mark a row as hybrid key exchange tested only where the handshake test passed for every client class. Done when the inventory shows, for each service, the version and edition running, what was tested and the test date.
Set the quantum-vulnerable constraint in test
The engineer sets the constraint in a test environment only, using the Properties setting
CONSTRAINTS_QUANTUM_VULNERABLE, which defaults to none. The Properties javadoc lists the options nist, log, legacy and reject. Java 1.87 applies the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448 when the constraint is enabled, and its release post gives the system property asorg.bouncycastle.constraints.quantum_vulnerable. The facts name this setting for Java 1.87 only, so confirm any C# .NET 2.7.0 equivalent in its documentation. Repeat the handshake tests under each option under consideration and record which connections fail. Done when the service owner and security lead have a written option, its test result and the value to revert to.Document classical settings on older builds
For a release line earlier than Java 1.87 or C# .NET 2.7.0, or a FIPS build with no post-quantum statement, the engineer documents the classical TLS settings, cipher suites and provider in use, and records that no post-quantum setting is applied. For the Java FIPS module, BC-FJA 2.1.1 is listed by NIST CMVP certificate 4943 as FIPS 140-3, overall level 1, status Active. The vendor roadmap lists bc-fips 2.2.0 with ML-KEM, ML-DSA and SLH-DSA as early access with no firm release date, and the C# .NET FIPS roadmap plans a 2.0.0 release for those algorithms with no dates given. Plan the upgrade path against those items, name an owner and set a review date. Done when the classical settings and upgrade plan sit in the inventory with their dates.
Front or isolate connections that cannot move
The network or platform engineer lists each connection that cannot be upgraded, then either places a TLS front component in front of it or isolates it on a restricted network segment. Bouncy Castle is a library with no listener or update channel of its own, so the controls sit in the host application and its network path. Document the front component on its own page, with its version, configuration and owner. Record which system terminates TLS for each listed connection and who approves the exception. Done when every listed connection has a named front or isolation control and a reference to that component's documentation.
Answer customer questionnaires with dated facts
The security or vendor-risk lead answers the questionnaire with four items: the Bouncy Castle edition, the exact version, the dated vendor statement the answer relies on, and the open items the vendor has not published. For example, the vendor FIPS FAQ says nothing about post-quantum algorithms, and the vendor pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. Cite each release post or roadmap with its date. Do not answer with a compliance, validation or certification claim. Done when a reviewer can trace each statement in the answer to a dated vendor source and to the version recorded in the inventory.
Ask the vendor about CNSA 2.0
When a federal contract cites CNSA 2.0, the compliance lead asks the vendor for its written position, since the vendor pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. CNSA 2.0 applies to national security systems. A commercial organization may use it as a reference, and whether the contract requires it is a question for the contracting officer. Ask the vendor to state in writing which products and versions it covers and the date of that statement. Done when the vendor's written position is filed with the inventory, or the gap is recorded as an open item.
Common questions about Bouncy Castle post-quantum readiness
Is Bouncy Castle quantum safe for post-quantum use today?
The sources do not support a product-level quantum safe label for Bouncy Castle. They support a narrower statement: Bouncy Castle implements ML-KEM, ML-DSA and SLH-DSA, and recent Java and C# .NET releases offer them in TLS. Whether a given deployment uses post-quantum algorithms depends on the edition, the version, the settings and what the peer supports. Classical algorithms (RSA, DSA, ECDSA, ECDH, EdDSA and XDH) still appear in TLS key exchange, certificate signatures and X.509 path validation. The hybrid mode keeps a classical component next to ML-KEM. The vendor FIPS FAQ says nothing about post-quantum algorithms, so confirm the FIPS status of any post-quantum feature with the vendor before you record it as validated.
Which Bouncy Castle version do I need for post-quantum TLS?
For the hybrid default, use Java 1.87, dated 2026-11-11, where BCJSSE offers X25519MLKEM768 first with no extra round trip. For C# .NET, use 2.7.0, dated 2026-08-07, which adds hybrid ML-KEM key exchange and ML-DSA and SLH-DSA authentication for TLS 1.3. Earlier releases cover narrower cases:
- Java 1.81, dated 2025-06-09, added ML-KEM-only and hybrid ML-KEM and classical cipher suites for JSSE based on IETF drafts. C# .NET 2.6.1 already supported ML-KEM-only TLS on that date, with hybrid still in progress.
- Java 1.82 added experimental ML-DSA client authentication in TLS based on draft-ietf-tls-mldsa.
The support in these releases rests on IETF drafts, so confirm the behavior in your own build against the Java 1.87 release post and the release notes for your version.
Does Bouncy Castle post-quantum support cost extra?
The About page states that Bouncy Castle is available under the MIT license, so the open-source library has no license fee under those terms. The sources give no license terms for the FIPS editions, so ask Legion of the Bouncy Castle Inc. for them in writing before you budget. Most of the cost is people time: planning, build and dependency changes, peer testing and documentation for your evidence file. Costs rise with the number of services that link the library, the number of peers you must test against, and any FIPS requirement. Ask any outside provider for a quote that separates engineering effort, test effort and any licensing fee for the editions you choose. Fixed-scope quotes follow from a written scope.
What breaks when I turn on post-quantum algorithms in Bouncy Castle?
The main risks are in client negotiation and in the constraint settings. In Java 1.87, the org.bouncycastle.constraints.quantum_vulnerable property enables a QuantumVulnerableConstraint that applies the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448. It defaults to none. Its options are nist, log, legacy and reject. The reject option is the strictest, and the sources do not spell out its effect on every handshake, so test it before production. On the server side, JSSE_USE_NAMED_GROUPS_ORDER (default off) makes a TLS 1.3 server choose key-share groups by its own preference order, which can change the group a client receives. The sources do not list which clients fail, so test each client family, including older ones, and check the handshake logs before you enable reject.
What should I ask Bouncy Castle about post-quantum roadmap dates?
Ask for these items in writing, with the date of each answer:
- The release date for bc-fips 2.2.0, which adds ML-KEM, ML-DSA and SLH-DSA. The FIPS roadmap, checked 2026-12-03, labels it early access and under test, with no firm release date.
- The planned C# .NET FIPS 2.0.0 release, which adds the same three families in approved mode under FIPS 140-3. That roadmap gives no dates.
- Whether the CMVP record covers the post-quantum algorithms. NIST certificate 4943 lists BC-FJA 2.1.1 at FIPS 140-3, overall level 1, status Active, and the sources do not show that it covers them.
- Which parameter sets each edition ships. The vendor pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87.
- When DTLS 1.3 (RFC 9147) will leave opt-in status. Java 1.87 says 0-RTT and connection IDs are not yet implemented, and no date is given.
Can my team do the Bouncy Castle post-quantum work ourselves?
Often yes. Your engineers can make the Java or C# .NET upgrade, the build and dependency changes, and the handshake tests against your own peers, because that work sits in your code and configuration. Outside help is useful for planning the order of services, configuring and testing the change across environments, and documenting the results for your security and compliance reviewers. DeployOpen can plan, configure, test and document this work inside your own infrastructure. Its engagements are fixed scope, with scope, deliverables and timelines agreed in writing before work starts. DeployOpen does not issue audit reports or certifications. Decide based on how many services link Bouncy Castle, whether any use a FIPS edition, and whether your team has time to run the peer tests.
How DeployOpen helps plan, enable and test Bouncy Castle post-quantum support
DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Bouncy Castle, that work starts by fixing the edition and version in use, then confirming which post-quantum algorithms that edition offers and what the host application must configure before any of them is used. Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- We record the exact Bouncy Castle edition and version in the written scope before work starts.
- The scope lists which post-quantum algorithms the chosen edition offers, and which of them the team needs.
- Fixed-scope engagements set out deliverables and timelines in writing; ongoing support is available as a retainer.
How we build
- We set the BCJSSE provider options that the host application needs, such as JSSE_USE_NAMED_GROUPS_ORDER.
- We test key exchange and signatures in a staging environment that mirrors the production host and its certificate chain.
- We check each FIPS claim against the CMVP certificate for the exact module version.
How we hand over
- We document the edition, version, enabled algorithms and every non-default property, with the date each was checked.
- We deliver the inventory of classical public-key uses in TLS, certificates and X.509 path validation for your records.
- We record vendor roadmap items still in early access, so reviewers see what is not yet final.
How we support
- Retainers can cover Bouncy Castle upgrades when a new release changes algorithm support or defaults.
- Retesting follows each change, so a Bouncy Castle version bump is checked against the documented settings.
- Support differs by edition and version, so each upgrade starts from the vendor release notes for that edition.

