Which Bouncy Castle functions depend on RSA and elliptic-curve keys today
If you are inventorying a Java or C# application built on Bouncy Castle, the classical public-key functions to record are TLS key exchange, certificate signatures and X.509 path validation. Those paths depend on RSA, DSA, DH, ECDSA, ECDH, EdDSA and XDH keys, which are the quantum-vulnerable parts of your inventory. The controls that change this picture are narrower than the library's feature list suggests: the quantum-vulnerable constraint arrived in Java 1.87, the default hybrid key exchange (X25519MLKEM768) in BCJSSE also comes from Java 1.87, and hybrid TLS 1.3 in C# is available from 2.7.0. Checked on 2026-12-03, these are the versions where the vendor documents the change, and nothing earlier should be assumed to have them.
Bouncy Castle is a library and JCA/JCE provider, not a network appliance, so it has no management listener or update channel of its own. What your application actually uses depends on how the host application configures it: which provider it loads, which TLS cipher suites and named groups it offers, whether it validates certificate chains through Bouncy Castle or the platform provider, and which signature algorithms it accepts. Record those settings for each deployed build, not just the library version. In Java, the org.bouncycastle.constraints.quantum_vulnerable property defaults to none, so an application on 1.87 or later that never sets it is not enforcing a constraint. Confirm this in your own configuration files and startup code rather than assuming it from the release notes.
Which Bouncy Castle components rely on classical public keys, by edition and version
This table lists the Bouncy Castle components that use RSA, DSA, ECDSA, ECDH, EdDSA or XDH for TLS key exchange, certificate signatures and path validation, and the settings or editions that change that dependency. Read each row against the edition and version named, because hybrid defaults and quantum-vulnerable constraints differ between Java, Java FIPS and C# releases.
| Component | Edition and version | What the source says | Source |
|---|---|---|---|
| BCJSSE TLS key exchange | Java 1.87, dated 2026-11-11 | BCJSSE offers the X25519MLKEM768 hybrid first by default, with no extra round trip. Classical groups remain part of the negotiation. | BC Java 1.87 release post |
| BCJSSE TLS key exchange, server group order | Java, default setting | JSSE_USE_NAMED_GROUPS_ORDER is off by default. When enabled, a TLS 1.3 server chooses key-share groups by its own preference order. | BC Properties javadoc |
| BCJSSE TLS hybrid in C# | C# .NET 2.7.0, dated 2026-08-07 | Adds hybrid ML-KEM key exchange for TLS 1.3. Classical groups in the same handshake are not described as removed in the source. | BC C# 2.7.0 release post |
| X.509 certificate signatures and path validation | All editions, per the specifications list | RSA, DSA, ECDSA, EdDSA and related identifiers are listed alongside RFC 5280 for X.509. These are the classical signature types in certificate chains. | BC Specifications page |
| Revocation checks in path validation | Java, default setting | X509_ENABLE_CRLDP is off by default. OCSP_MAX_RESPONSE_AGE defaults to 3600 seconds. Confirm these values in your own configuration. | BC Properties javadoc |
| DH and DSA parameter size limits | Java, default setting | DH_MAX_SIZE and DSA_MAX_SIZE each default to 16384 bits as upper bounds on prime modulus size for imported keys. | BC Properties javadoc |
| Quantum-vulnerable constraint | Java 1.87 | QuantumVulnerableConstraint applies the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448. It is enabled through org.bouncycastle.constraints.quantum_vulnerable and defaults to none. | BC Java 1.87 release post |
| Java FIPS module (BC-FJA) | BC-FJA 2.1.1, FIPS 140-3, CMVP certificate 4943 | The certificate lists version 2.1.1 as Active. The vendor FIPS FAQ does not address post-quantum algorithms, so FIPS status here does not describe PQC support. | NIST CMVP certificate 4943 |
| C# .NET FIPS edition | Planned 2.0.0, no date given | The roadmap lists ML-KEM, ML-DSA and SLH-DSA for approved mode, but gives no release dates. Confirm current status with the vendor before relying on it. | BC C# FIPS roadmap |
Which parts of Bouncy Castle touch RSA, DH and elliptic-curve keys
Bouncy Castle uses RSA, DH, DSA and elliptic-curve keys in TLS key exchange, certificate signatures, X.509 validation and imported key handling. Each area below is a place where a quantum-vulnerable algorithm can be in use, and each has settings or host application choices an assessor should confirm.
TLS key exchange in BCJSSE
The BCJSSE provider negotiates key exchange for TLS connections, and the classical groups it can offer are ECDH and DH, alongside the hybrid X25519MLKEM768 that version 1.87 now offers first by default. For a TLS 1.3 server, the setting JSSE_USE_NAMED_GROUPS_ORDER (default off) decides whether the server picks key-share groups by its own preference order. Check which groups a server actually offers, since a classical-only group can still be selected when the hybrid is not offered by the peer.
Java 1.87 notesCertificate signatures and X.509 validation
Certificate chains are validated with RSA, DSA, ECDSA and EdDSA signatures, which are the classical algorithms that appear in certificates and CRLs. Revocation checking depends on settings: X509_ENABLE_CRLDP (default off) controls whether CRLs are downloaded from distribution point URIs, and OCSP_MAX_RESPONSE_AGE (default 3600 seconds) limits how old an OCSP response may be. Confirm which revocation sources your application enables, because the defaults do not fetch CRLs.
Specifications pageImported DH and DSA key size bounds
Keys imported into Bouncy Castle are checked against upper bounds on the prime modulus size, set by DH_MAX_SIZE and DSA_MAX_SIZE, each defaulting to 16384 bits. These limits accept classical finite-field keys up to that size, so they neither add quantum resistance nor remove the exposure of the keys themselves. Inventory any DH or DSA keys your application loads, including those read from configuration or key stores.
Properties javadocHostname identity matching
TLS hostname checks rely on certificate identities, and the JSSE_HOSTNAME_CHECK_CN_FALLBACK setting (default off) decides whether the subject common name can stand in when no SAN dNSName is present. The Bouncy Castle documentation recommends leaving this off. This card concerns identity, not key algorithms, so confirm that the certificates your clients see carry SAN entries before any certificate migration.
Properties javadocCBOM marking for quantum-vulnerable assets
Bouncy Castle 1.87 generates a CBOM in which quantum-vulnerable assets are marked at security level 0. The org.bouncycastle.constraints.quantum_vulnerable property, default none, can apply the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448 through its nist, log, legacy and reject options. Use the CBOM output as the starting inventory, and set the constraint mode deliberately, since the default applies no restriction.
Java 1.87 notesHost application configuration
Bouncy Castle is a library and JCA/JCE provider with no management listener or update channel of its own, so its cryptographic behavior depends on how the host application configures it. The provider choices, system properties and TLS parameters are set in the application and its deployment. Assessors should review each host application's configuration, and the team that ships it owns patching and upgrades to the library.
Specifications pageHow the answer changes by Bouncy Castle edition and version line
Java 1.87, dated 2026-11-11, is the version line where the project adds the most controls over quantum-vulnerable algorithms. It introduces a QuantumVulnerableConstraint that applies the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448, and it is switched on through the org.bouncycastle.constraints.quantum_vulnerable property, which defaults to none. The release also changes the default TLS key exchange in BCJSSE, so that the X25519MLKEM768 hybrid is offered first.
- Constraint setting:
org.bouncycastle.constraints.quantum_vulnerabledefaults to none. The javadoc lists options nist, log, legacy and reject, so the constraint has to be set deliberately. - Default hybrid in BCJSSE: The release states that BCJSSE offers the X25519MLKEM768 hybrid first by default, with no extra round trip. Classical groups are still negotiated when the peer does not support the hybrid.
- CBOM output: The generated CBOM marks quantum-vulnerable assets at security level 0. PQC algorithms report a NIST security category through PQCParameters.
- Still specification-only: Signature composites and hybrids are listed only as specifications, and DTLS 1.3 (RFC 9147) is opt-in with 0-RTT and connection IDs not yet implemented.
- HQC changes: HQC keys and ciphertexts from earlier releases are not compatible with 1.87, and Classic McEliece is deprecated.
Confirm the constraint mode, the TLS group order your peers accept, and whether the CBOM is ingested into your inventory before relying on this version line for an assessment.
The 1.81 to 1.86 line is where Bouncy Castle Java first adds post-quantum TLS and KEM support, but the TLS coverage is narrower and depends on drafts. Java 1.81 adds TLS support for ML-KEM-only and hybrid ML-KEM/classical cipher suites in JSSE, based on IETF drafts. Java 1.84, dated 2026-05-12, makes ML-KEM and NTRU available to Java 17 users through the Java KEM API.
- Java 1.81 TLS: JSSE gains ML-KEM-only and hybrid ML-KEM/classical cipher suites, based on IETF drafts.
- Java 1.82 client authentication: Experimental ML-DSA client authentication in TLS, based on draft-ietf-tls-mldsa, is added on 2025-09-23.
- Java 1.84 KEM API: ML-KEM is available via the Java KEM API for Java 17 users, dated 2026-05-12.
- Issue 2252 behavior: The bc-java issue closed on 2026-04-09 states that BC TLS uses ML-KEM through javax.crypto.KEM when that API is present. A report said X25519MLKEM768 set in jdk.tls.namedGroups was rejected on Java 25 beside the SUN providers.
- Classical algorithms unchanged: RSA, DH and elliptic-curve keys are still used for certificates and key exchange in these releases.
Before relying on a 1.81 to 1.86 build, confirm the exact release, the JDK version, and whether javax.crypto.KEM is in use in your runtime.
The C# .NET edition reached hybrid ML-KEM for TLS 1.3 in version 2.7.0, dated 2026-08-07. The release adds hybrid ML-KEM key exchange and ML-DSA and SLH-DSA authentication for TLS 1.3. The C# line did not have the Java 1.87 constraint and default-hybrid controls described in the Java tab, so a C# assessment should be read against the C# release notes.
- Hybrid key exchange: ML-KEM hybrid key exchange for TLS 1.3, announced in the 2.7.0 release.
- Authentication: ML-DSA and SLH-DSA authentication for TLS 1.3 are added in the same release.
- Earlier state: The 2.6.1 release, dated 2025-06-09, already supported ML-KEM-only TLS in C# .NET, with the hybrid still in progress at that date.
- Java-only items: The Java 1.87 QuantumVulnerableConstraint and the CBOM output are described for Java releases, and the sources reviewed do not state whether they exist in C#.
- Classical algorithms remain: RSA, DSA, ECDSA, ECDH and EdDSA are still present in the C# API for certificates and key exchange.
Confirm the C# version in your build, whether TLS 1.3 hybrid groups are enabled in your application, and whether your certificates still use classical signatures.
The Java FIPS edition is the BC-FJA line, and its validated status and post-quantum plans are separate from the open-source Java releases. NIST CMVP certificate 4943 lists BC-FJA version 2.1.1 under FIPS 140-3, overall level 1, with status Active and vendor Legion of the Bouncy Castle Inc. The vendor roadmap lists bc-fips 2.2.0 as adding ML-KEM, ML-DSA and SLH-DSA, but it is labeled early access and currently under test, with no firm release date.
- Validated version: Certificate 4943 covers BC-FJA 2.1.1, status Active, at FIPS 140-3 overall level 1.
- Planned PQC: The roadmap lists bc-fips 2.2.0 as adding ML-KEM, ML-DSA and SLH-DSA, labeled early access, with no firm release date.
- Core roadmap: bc-fips-core 3.0.0 is early access and based on BC-FJA 2.2.0, with jlink support, PBMAC1, SM2/SM3/SM4, Ascon and LEA.
- TLS in FIPS mode: BCJSSE has a FIPS mode that restricts it to cipher suites and parameters usable in a FIPS-compliant TLS setup.
- No CNSA 2.0 statements: The FIPS FAQ does not mention post-quantum algorithms, and the pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87.
Confirm the validated module version in your deployment against certificate 4943, and do not assume a post-quantum algorithm is in the validated boundary until the vendor publishes a validated release.
The C# FIPS edition has a roadmap but no dated post-quantum release. The vendor C# .NET FIPS roadmap lists a planned 2.0.0 release that adds ML-KEM, ML-DSA and SLH-DSA in approved mode under FIPS 140-3, with no dates given. No certificate for the C# FIPS module was among the sources checked for this topic, so its validation status should be confirmed directly.
- Planned 2.0.0: The roadmap lists ML-KEM, ML-DSA and SLH-DSA in approved mode under FIPS 140-3 for a planned 2.0.0 release.
- No firm dates: The roadmap gives no release or validation dates.
- Validation not confirmed here: The sources reviewed do not include a CMVP certificate for the C# FIPS module.
- Non-FIPS C# changes apply separately: The C# 2.7.0 TLS 1.3 hybrid support belongs to the non-FIPS C# edition and is not a FIPS validation claim.
- Classical algorithms remain: RSA, ECDSA, ECDH and EdDSA stay in the C# FIPS API as they do elsewhere.
Ask the vendor for the current validation status and expected dates for 2.0.0 before planning around post-quantum support in the C# FIPS edition.
How to confirm which Bouncy Castle calls in your application use RSA or elliptic-curve keys
This sequence establishes which Bouncy Castle edition and version your application runs, where its TLS, certificate and signing code depends on RSA, DH, DSA or elliptic-curve keys, and which stronger settings your build can apply. The output is a dated record that a security assessor can check against your own configuration and the vendor's documentation.
Identify the edition and exact version
Open the build file (for example, pom.xml, build.gradle or the .csproj file) and record the artifact name and version. Bouncy Castle ships separate editions for Java, Java LTS, Java FIPS, C# .NET, C# .NET FIPS, Rust and Kotlin, and the FIPS editions carry different validation status, so the artifact ID matters as much as the number. Confirm the version against the vendor's download page, and note the date you checked it. This step is closed when the edition, version and check date are written in your inventory record.
Search for BCJSSE and JSSE provider configuration
Search the codebase for BouncyCastleJsseProvider, the provider name BCJSSE, and any SSLContext, SSLEngine or security-property settings that select a provider. Also search for the enabled cipher suites and protocol versions that the application passes to the TLS stack, since these determine whether RSA key exchange, DH or ECDHE is negotiated. Note whether the application runs in FIPS mode, because that mode restricts the cipher suites and parameters available. This step is closed when every provider reference and every enabled-suite list is mapped to a file and line.
List certificate and key algorithms in use
Enumerate the certificates, keys and key pairs the application loads, including keystores, PEM files and any keys generated at runtime. For each one, record the algorithm identifier (RSA, ECDSA, ECDH, EdDSA, XDH, DSA or DH) and the key size or curve. The specifications list these as the classical public-key algorithms used for TLS key exchange, certificate signatures and X.509 path validation, so each entry is a quantum-vulnerable item in your inventory. This step is closed when every key and certificate is listed with its algorithm and location.
Set and record the quantum vulnerable constraint in test
In a test environment running the version you identified, set the org.bouncycastle.constraints.quantum_vulnerable property to one of the documented options (nist, log, legacy or reject), then run the application's TLS and signing paths. The option defaults to none, so the setting must be explicit to produce any signal. Use log first if you want to observe matches without failing, and record which operations are flagged. The Java 1.87 release applies the NIST IR 8547 timetable to RSA, DSA, DH, EC, EdDSA and X25519/X448 when this constraint is enabled. This step is closed when the chosen option, the test run and the flagged operations are recorded.
Check the CBOM output for quantum vulnerable assets
Generate the cryptographic bill of materials from the test run and review its entries. Bouncy Castle Java 1.87 marks quantum-vulnerable assets at security level 0, and PQC algorithms report a NIST security category through PQCParameters, so the level field separates classical from post-quantum assets. Compare the CBOM entries with the key and certificate list from the earlier step, and flag any classical asset the CBOM does not report. This step is closed when the CBOM is reconciled against your inventory and any gaps are listed.
Confirm the TLS 1.3 group order setting
Check whether the server sets org.bouncycastle.jsse.use_named_groups_order, the JSSE_USE_NAMED_GROUPS_ORDER property, which defaults to off. When it is off, the client's key-share order is used; when it is on, the server chooses key-share groups by its own preference order. Confirm the value in your configuration and test it with a client that offers more than one group, so you can state which group your server selects. Also confirm the hybrid group behavior for your version, because Bouncy Castle Java 1.87 offers X25519MLKEM768 first by default. This step is closed when the setting, its value and the observed negotiated group are recorded.
What the Bouncy Castle project has not published and what to ask it
The Bouncy Castle project has published a lot about its post-quantum work, but several points that matter for a dependency review are missing or still pending. Each card below names one gap, what the checked sources say, and the question to put to the vendor before relying on the library for a given use.
No firm date for FIPS PQC
The Java FIPS roadmap lists bc-fips 2.2.0 as adding ML-KEM, ML-DSA and SLH-DSA, but it is labeled early access and still under test, with no firm release date. Any RSA or elliptic-curve path in a FIPS deployment stays classical until that module ships and is validated. Ask the vendor for the target date, the validation plan and whether the early-access build can be used in a regulated environment before the module is active.
Java FIPS roadmapDTLS 1.3 features not yet implemented
Bouncy Castle Java 1.87 states that DTLS 1.3 (RFC 9147) is opt-in, with 0-RTT and connection IDs not yet implemented. Any UDP-based service that relies on these features will fall back to other behavior or be unavailable. Ask the vendor which DTLS 1.3 features are covered, whether 0-RTT and connection IDs are scheduled, and how DTLS sessions using classical key exchange should be handled meanwhile.
Java 1.87 release postComposites listed only as specifications
The Java 1.87 release post lists signature composites and hybrids only as specifications, not as implemented functions. A certificate or signature that depends on a composite scheme therefore has no shipping code path in that release. Ask the vendor which composite schemes are implemented in code, in which editions, and on what timeline, before an inventory marks any composite signature as available.
Specifications pageNo PQC statement in the FIPS FAQ
The vendor's FIPS FAQ says nothing about post-quantum algorithms. A federal or regulated reviewer reading only the FAQ cannot confirm the vendor's position on PQC in FIPS modules. Ask the vendor for a written statement covering which PQC algorithms its FIPS modules will include, how they will be validated and whether the FAQ will be updated to say so.
BC FIPS FAQNo CNSA 2.0 or level 5 parameter sets
The pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. Organizations that must meet CNSA 2.0 parameter choices for national security systems cannot confirm support from these sources. Ask the vendor whether the library offers these parameter sets, in which editions, and whether a CNSA 2.0 alignment statement is planned.
Specifications pageHQC keys not compatible across releases
Bouncy Castle Java 1.87 states that HQC keys and ciphertexts from earlier releases are not compatible with 1.87, and that HQC follows the 2026-10-12 specification on the path to FIPS 207. Stored HQC keys or ciphertexts may fail to load after an upgrade. Ask the vendor for a migration path for existing HQC material, the expected stability of the HQC specification and whether earlier key formats can be converted.
Java 1.87 release postWhat can go wrong when moving off RSA and elliptic-curve keys in Bouncy Castle
The main risk in moving off RSA and elliptic-curve keys in Bouncy Castle is not that a post-quantum option is missing, but that a classical algorithm is selected without anyone noticing. Bouncy Castle is a library and JCA/JCE provider, so the negotiated key exchange depends on how the host application orders its groups and cipher suites. Its BCJSSE provider also offers the X25519MLKEM768 hybrid first by default in Java 1.87, but that default applies only where the application uses BCJSSE and has not overridden the order. Confirm which provider actually completes the handshake, since a server that lists hybrid groups in a host provider order that does not include them will silently negotiate a classical group. The JSSE_USE_NAMED_GROUPS_ORDER setting, default off, decides whether a TLS 1.3 server follows its own preference order for key-share groups, so check its value in every service that terminates TLS.
On the Java side, a related trap appears when jdk.tls.namedGroups is set to include X25519MLKEM768 beside the SUN providers. Bouncy Castle GitHub issue 2252 reported that this value was rejected on Java 25, and it was closed on 2026-04-09 after the maintainer stated that BC TLS code now uses ML-KEM through javax.crypto.KEM when that API is present. Test the exact JDK build and provider list in your own environment rather than assuming the fix covers it. Larger post-quantum key shares also change the handshake size, and some clients and middleboxes cannot negotiate them. Run a test handshake from each client class you serve, including through inspection devices, and record which groups are actually accepted.
Validator settings can keep classical trust decisions in place after a migration. JSSE_HOSTNAME_CHECK_CN_FALLBACK, default off, lets the subject CN serve as hostname identity when no SAN dNSName is present, and the vendor recommends leaving it off, so confirm it is off in every validator. X509_ENABLE_CRLDP, default off, lets the validator download CRLs from distribution point URIs, which adds network fetches and a trust path you may not have reviewed. Check that these values match your certificate policy, and record each override in your inventory so that a later upgrade does not reintroduce them.
Questions assessors ask about Bouncy Castle RSA and elliptic-curve dependencies
Is Bouncy Castle quantum safe?
Bouncy Castle does not make a quantum-safety claim that this page can confirm, and no certification in the sources covers post-quantum use of the library as a whole. What is supported: Bouncy Castle Java 1.79 was announced as the first release with the finalized NIST PQC standards, covering ML-KEM, ML-DSA and SLH-DSA, and the specifications page lists ML-KEM, ML-DSA, SLH-DSA, LMS/HSS and XMSS as implemented. What is not established: the RSA, DSA, ECDSA, ECDH, EdDSA and XDH paths that still appear in TLS key exchange, certificates and X.509 validation remain quantum-vulnerable unless you configure stronger settings and check which ones your application actually uses. The FIPS FAQ does not mention post-quantum algorithms. Ask the vendor which algorithms are in use in your edition and version, and check the classical algorithms in your own configuration.
Which Bouncy Castle version should we run for post-quantum work?
Choose the newest release that carries the post-quantum features your application needs, and confirm the edition. The release history in the sources runs as follows: Java 1.79 introduced the finalized NIST standards, Java 1.81 and C# .NET 2.6.1 added PKCS#8 formats and CMS signatures, Java 1.82 added experimental ML-DSA client authentication in TLS, Java 1.84 exposed ML-KEM to Java 17 through the KEM API, C# .NET 2.7.0 added hybrid ML-KEM and ML-DSA/SLH-DSA authentication for TLS 1.3, and Java 1.87 added the QuantumVulnerableConstraint. Java 1.87 also notes that HQC keys from earlier releases are incompatible. For FIPS deployments, the validated module BC-FJA 2.1.1 (NIST CMVP certificate 4943) is listed as Active, while bc-fips 2.2.0 with ML-KEM, ML-DSA and SLH-DSA is labeled early access with no firm release date. Confirm your target version and edition with the vendor before you rely on any feature.
Does turning on the constraint or hybrid mode cost extra?
The sources do not state a licence fee, price or effort figure for either option, so no cost can be quoted from them. Bouncy Castle is listed under the MIT license on its About page, so the library itself carries no licence fee in the sources. What drives your cost is the work around it: testing and rolling out a new version, updating peers that must also negotiate hybrid groups, and reviewing any classical algorithms the constraint flags. Java 1.87 also states that the CBOM marks quantum-vulnerable assets at security level 0, which affects reporting work. Hybrid X25519MLKEM768 is the default first group in BCJSSE from Java 1.87, so it may need no extra configuration on that path. Ask any supplier to break its quote into engineering time, testing, and ongoing upgrades, and check each item against your own scope.
What breaks when we enable the quantum-vulnerable constraint?
Enabling the constraint flags RSA, DSA, DH, EC, EdDSA and X25519/X448 under the NIST IR 8547 timetable, so the effect depends on the mode you select. The sources list the options as nist, log, legacy and reject, with the default set to none. Under reject, a flagged algorithm is refused, so any connection, certificate or key that relies on classical algorithms may fail. Under log, you see the flags without the failures, which suits a test phase. Check your peers, your certificate chain and any stored keys before you move past logging. Note that Java 1.87 lists HQC keys and ciphertexts from earlier releases as incompatible, so check those separately.
What should we ask Bouncy Castle or our supplier before we commit?
Ask for written answers on the points the sources leave open. Confirm which edition and version your application uses and whether its post-quantum features are in that build. Ask for the status of bc-fips 2.2.0 and bc-fips-core 3.0.0, since the roadmap labels both early access with no firm dates. Ask whether any CNSA 2.0 alignment exists, because the vendor pages checked do not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. Ask how the CBOM and the constraint report results so your inventory matches the vendor's output. Ask whether the TLS 1.3 server group ordering, the hostname CN fallback and the CRL distribution point setting are on by default in your version, since the javadoc lists each as off by default. Record the answers with their dates.
Can our internal team do the public-key inventory, or do we need outside help?
Your team can run the inventory itself if it has time to read the vendor documents and test the settings. The inventory needs three inputs: the Bouncy Castle version and edition in each application, the classical algorithms each code path uses (RSA, DSA, ECDSA, ECDH, EdDSA, XDH), and the certificate and key sources feeding those paths. The CBOM output from Java 1.87 can help build it. Outside help becomes useful when you need the work done across many applications, when the constraint must be tested in a regulated environment, or when a FIPS module choice must be justified. DeployOpen plans and implements self-hosted platforms and runs security testing and compliance readiness work, and an engagement is agreed in writing as a fixed scope before work starts. DeployOpen does not issue audit reports or attestations.
Which Bouncy Castle settings should we check first?
Check the settings that change how the library selects and validates keys. The Properties javadoc lists JSSE_USE_NAMED_GROUPS_ORDER, default off, which makes a TLS 1.3 server pick key-share groups by its own preference order. Set it deliberately so your preferred hybrid group wins. Also check JSSE_HOSTNAME_CHECK_CN_FALLBACK, default off, which the page recommends leaving off, and X509_ENABLE_CRLDP, default off, which controls whether CRLs are downloaded from distribution points. Review OCSP_MAX_RESPONSE_AGE, default 3600 seconds, and the DH_MAX_SIZE and DSA_MAX_SIZE limits, each defaulting to 16384 bits. Set org.bouncycastle.constraints.quantum_vulnerable only after you have read its options in the vendor documentation, and test each change in a staging environment.
Does Bouncy Castle's TLS stack support hybrid key exchange today?
Yes for the Java and C# TLS stacks, with conditions that depend on version. Java 1.81 added TLS support for ML-KEM-only and hybrid ML-KEM/classical cipher suites based on IETF drafts. Java 1.87 offers X25519MLKEM768 first by default in BCJSSE, with no extra round trip. C# .NET 2.7.0 adds hybrid ML-KEM key exchange for TLS 1.3. Bouncy Castle GitHub issue 2252, closed 2026-04-09, reported that X25519MLKEM768 set in jdk.tls.namedGroups was rejected on Java 25 beside the SUN providers, and the maintainer stated that the BC TLS code now uses ML-KEM through javax.crypto.KEM when that API is present. Test your exact JDK and provider order, since the sources do not cover every combination.
How DeployOpen helps assess and harden Bouncy Castle public-key use
DeployOpen approaches Bouncy Castle public-key use as a bounded engineering task: first identify which RSA, Diffie-Hellman and elliptic-curve operations your application actually performs, then configure the stronger settings the vendor documents and test them in your own environment. Each engagement is fixed-scope, with the edition, host application and deliverables agreed in writing before work starts.
How we scope
- Confirm which Bouncy Castle edition you run, such as Java, Java FIPS, C# .NET or C# .NET FIPS, and the version in production.
- Identify the host applications, TLS provider use (BCJSSE or other), and certificate and key workflows that call Bouncy Castle.
- Agree in writing which public-key functions are in scope, since Bouncy Castle is a library whose behavior depends on how your application configures it.
How we build
- Map each RSA, DSA, ECDSA, ECDH, EdDSA and XDH usage to its TLS, certificate or X.509 path validation function in the codebase.
- Review the Properties settings that affect these paths, including the named group ordering, hostname checking and CRL and OCSP behavior, and test each change.
- Where your version supports them, test the vendor-documented ML-KEM hybrid and ML-DSA options in a staging environment before any production change.
How we hand over
- Deliver a written inventory of public-key dependencies, showing which functions rely on classical algorithms and which settings were tested.
- Document each configuration change with its Bouncy Castle version, property name and default, so your team can reproduce and review it.
- Provide a retest checklist that your engineers can run after future Bouncy Castle upgrades or changes to the host application.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer, based on the scope you agree in writing.
- Re-check the inventory when Bouncy Castle releases new post-quantum or constraint features, since the vendor's documented status changes between versions.
- Confirm the current vendor statements on FIPS validation and roadmap status with your own compliance team, since DeployOpen does not issue certifications or attestations.

