Bouncy Castle FIPS Java API vs PQShield: how to choose between them

Bouncy Castle FIPS Java API is a Java library and PQShield sells post-quantum IP across hardware and software. This page compares what each documents on algorithms, FIPS placement, licensing and integration.

On this page

Which post-quantum library fits a Java or C application team

Bouncy Castle FIPS Java API is a Java cryptography library published by the Legion of the Bouncy Castle Inc., and PQShield is a vendor of post-quantum cryptography IP for silicon, networks, data centers and edge AI. The two overlap on algorithm lists: Bouncy Castle's interoperability page lists ML-KEM, ML-DSA, SLH-DSA, LMS/HSS, XMSS and XMSS^MT, and PQShield's homepage lists ML-KEM, ML-DSA, SLH-DSA, LMS and XMSS. They differ on runtime, FIPS module placement and licensing. This page does not rank them, and the right choice depends on the language your application uses and what your compliance team needs to review.

For a Java application team, the first check is runtime. Bouncy Castle FIPS Java API runs on Java 8, 11, 17 and 21 according to the Bouncy Castle FIPS FAQ, so a Java service fits its native model. PQShield's homepage says PQCryptoLib-Core runs on Linux, Windows and macOS, and its SDK is described as an OpenSSL 3.x provider, which points to C or OpenSSL-based integration. Confirm with your build and deployment owners which runtime your services use before you compare anything else.

The second check is where the FIPS module sits. Maven Central describes bc-fips 2.1.3 as covered by interim FIPS Certificate #4943 at FIPS 140-3 Level 1, while the post-quantum algorithms for the BCFIPS provider ship in bcpqc-fips, which Maven Central describes as non-certified. NIST certificate 5587 covers PQCryptoLib-Core as FIPS 140-3 overall Level 1, software, with ML-KEM and ML-DSA among approved algorithms. Ask each vendor which exact module and version covers the algorithms you plan to use, and have your compliance lead confirm that scope. Licensing is the third check: Bouncy Castle's APIs are MIT-licensed with FIPS support sold through Keyfactor, while PQShield publishes no terms or prices and offers an evaluation request.

What each vendor documents about its owner, scope and licensing

This table sets out what Bouncy Castle FIPS Java API and PQShield each publish about who owns them, what they cover, how they run and how they are licensed or sold. Read each row as a question to put to the vendor, since the sources do not give prices for either product. The main takeaway is that the two products differ in runtime and licensing model, so the choice depends on your application language and procurement route.

AttributeBouncy Castle FIPS Java APIPQShield
Owner and publisherLegion of the Bouncy Castle Inc., with Keyfactor sponsoring the project and funding FIPS certification (Keyfactor press release, 31 July 2024)PQShield Ltd. of Oxford, UK, per NIST CMVP certificate 5587
Product typeJava software library with a JCE provider and low-level APIs (Maven Central bc-fips, version 2.1.3 as seen on 4 December 2026)Post-quantum cryptography IP for silicon, networks, data centers and edge AI, with both hardware and software offerings (PQShield homepage)
RuntimeJava 8, 11, 17 and 21 per the FIPS FAQ, so the choice follows your application languagePQCryptoLib-Core runs on Linux, Windows and macOS per the PQShield homepage; PQMicroLib-Core targets bare-metal
Algorithm documentationLists ML-KEM, ML-DSA, SLH-DSA, LMS/HSS, XMSS and XMSS^MT, plus composite ML-DSA, composite ML-KEM and X-Wing (Bouncy Castle interoperability page)Lists ML-KEM, ML-DSA, SLH-DSA, LMS and XMSS, plus PQ/T hybrid signature verification (PQShield homepage)
FIPS status as statedbc-fips 2.1.3 is covered by interim FIPS Certificate #4943 at FIPS 140-3 Level 1; post-quantum algorithms ship in the non-certified bcpqc-fips artifact (version 2.1.1)PQCryptoLib-Core is listed as FIPS 140-3 overall Level 1 under NIST certificate 5587, with ML-KEM and ML-DSA among approved algorithms; CAVP certificate #A8807 was announced on 11 August 2026
License or pricing modelOpen-source APIs are MIT-licensed; FIPS support is sold through Keyfactor with no published priceNo licensing terms or prices are published; the vendor offers an evaluation request with a scoping call
Target buyersJava application teams that need a validated module and support contractSemiconductor, networking, data center, edge AI, enterprise and government buyers, per the PQShield homepage
Price disclosureNo price published for the FIPS Java API or its support packages; ask Keyfactor for a written quoteNo price published; ask PQShield for a scoped quote after an evaluation call

What Bouncy Castle FIPS Java API and PQShield each say they do

Bouncy Castle describes the FIPS Java API as a cryptography library for Java applications. Maven Central lists it under the Legion of the Bouncy Castle Inc. and describes it as a JCE provider with low-level APIs, with latest version 2.1.3 as seen on 4 December 2026. The 2.1.3 release is documented as a patched version of BC-FJA-2.1.2, covered by interim FIPS Certificate #4943 at FIPS 140-3 Level 1, with Intel native acceleration for AES-NI and SHA-256 where supported. The Bouncy Castle FIPS FAQ separately says BC-FJA 2.0.0 holds NIST certificate #4743 and that its APIs are certified for Java 8, 11, 17 and 21.

  • JCE provider: The module is presented as a JCE provider, so applications that call standard Java security APIs can select its algorithms through configuration.
  • Interim certificate #4943: Maven Central ties bc-fips 2.1.3 to interim FIPS Certificate #4943. An interim certificate is not the same as a finalized validation, so confirm the current status with NIST before quoting it.
  • Separate post-quantum artifact: ML-KEM, ML-DSA and SLH-DSA for use with the BCFIPS provider ship in org.bouncycastle:bcpqc-fips. Maven Central describes that artifact as non-certified, with latest version 2.1.1.
  • Algorithm list: The Bouncy Castle interoperability page lists ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), LMS/HSS, XMSS and XMSS^MT, plus composite ML-DSA, composite ML-KEM and X-Wing. The page does not map these algorithms to the FIPS Java module.
  • Licensing and support: Bouncy Castle's open-source APIs are MIT-licensed. Keyfactor's Bouncy Castle support page sells FIPS support and lists no price for the FIPS Java API.

Because the post-quantum algorithms sit in a non-certified artifact, a team that needs a validated post-quantum module should confirm in writing which algorithms run inside the certified boundary of its chosen version. Check the Java version against the certified list before deployment.

Which situations each option fits, as its documentation implies

Both options cover some of the same post-quantum algorithms, but they are packaged for different runtimes and delivery models. The cards below state what each vendor's documentation says about a situation and what to confirm before you choose.

Java service needing a JCE provider

Bouncy Castle FIPS Java API is a Java library with a JCE provider and low-level APIs, and its documentation lists Java 8, 11, 17 and 21 support. If your service is Java and you need a provider you can register in the JVM, the documentation points to this library. Confirm which Java version your runtime uses, and check whether the post-quantum algorithms you need sit in the separate bcpqc-fips artifact, which Maven Central describes as non-certified.

Latest bc-fips version
2.1.3
bc-fips on Maven Central

C or OpenSSL-based stack

PQShield documents PQCryptoLib-SDK as PQCryptoLib-Core plus an OpenSSL 3.x provider, and states that PQCryptoLib-Core runs on Linux, Windows and macOS. If your stack is C or built on OpenSSL, that documented provider path is the one to evaluate. Bouncy Castle FIPS Java API is a Java library and does not fit a C or OpenSSL integration. Confirm the OpenSSL version and platform against PQShield's documentation before you commit.

PQShield homepage

Embedded or bare-metal target

PQShield's homepage says PQMicroLib-Core provides bare-metal post-quantum cryptography in under 5 KB of RAM. That is the only product in this comparison that the documentation describes for bare-metal targets. Bouncy Castle's documentation describes a Java library running on the JVM, so it does not address constrained embedded hardware. If your target is a microcontroller or a device without an operating system, ask PQShield for the memory and flash figures for your exact configuration.

PQShield homepage

FIPS 140-3 documentation on a named module

NIST certificate #4943 is listed for the interim FIPS validation of bc-fips 2.1.3, and certificate #4743 covers BC-FJA 2.0.0. NIST certificate #5587 covers PQCryptoLib-Core at FIPS 140-3 overall Level 1, tested by Lightship Security. Check the certificate that matches your exact module and version, and confirm that the algorithms you use are listed as approved on it. The sources on this page do not show that either module covers every algorithm you may need.

NIST certificate 5587

Need for hardware IP

PQShield's homepage lists hardware IP, including PQPlatform-TrustSys, PQPlatform-CoPro and PQPlatform-AES, aimed at silicon. Bouncy Castle's documentation covers software libraries only, so it does not offer hardware IP. If you are designing a chip or a hardware security block, the PQShield offer is the one the documentation describes. Ask PQShield which hardware blocks have been validated and for which processes, since the homepage does not say.

PQShield homepage

How to test each option against your own estate

This sequence tests Bouncy Castle FIPS Java API and PQShield against the languages, protocols and peers your systems actually use, so the choice rests on documented module scope and observed interoperability. Each step produces a record that a security, procurement or compliance reviewer can check.

  1. Inventory languages, runtimes and Java versions

    The platform or engineering lead lists every service that touches cryptography, along with its language, runtime and, for Java services, the exact JDK version, such as Java 8, 11, 17 or 21. Bouncy Castle FIPS Java API is certified for Java 8, 11, 17 and 21, so any service on a different runtime is a gap to resolve before the option is considered. PQShield's PQCryptoLib-Core is documented for Linux, Windows and macOS, so the operating system of each host should be listed too. The step is complete when the inventory is a single table that maps each service to its language, runtime and host platform.

  2. Map the algorithms each protocol requires

    The security architect lists the algorithms each protocol and data flow needs, such as ML-KEM for key establishment, ML-DSA for signatures, SLH-DSA or LMS and XMSS for hash-based signatures, and AES-256 for symmetric encryption. Both vendors' published algorithm lists overlap, so the comparison turns on whether each required algorithm sits inside the module you will be audited against. Bouncy Castle's interoperability page does not map these algorithms to the FIPS Java module, so confirm that mapping directly with the vendor. The step is complete when every protocol has a written list of required algorithms and a note on whether each one is inside a validated module.

  3. Confirm the FIPS certificate for the shipped build

    The compliance lead checks which validation covers the exact module name and version you will ship, using the NIST CMVP database and the vendor's documentation. For Bouncy Castle, confirm whether the version you pin is covered by the certificate the vendor cites, and whether the post-quantum algorithms come from the separate bcpqc-fips artifact, which Maven Central describes as non-certified. For PQShield, confirm that the certificate, such as CMVP certificate 5587 for PQCryptoLib-Core, names the same version and algorithm set you need, and that its CAVP listing is read as an algorithm test result, not a module validation. The step is complete when each candidate has a written statement of which certificate, module version and algorithms apply.

  4. Build the library into a representative service

    The engineering team adds each candidate library to a non-production copy of one representative service, pinned to the runtime and host platform recorded in the first step. The build should confirm that the library compiles, that the required algorithms are reachable through the provider or API the application uses, and that the service starts on the target Java version or operating system. For Bouncy Castle, record the artifact names and versions pulled from the build; for PQShield, record the distribution and integration path, such as the OpenSSL 3.x provider for PQCryptoLib-SDK. The step is complete when each candidate has a passing build log for the representative service.

  5. Run interoperability tests against peer systems

    The integration engineers run key exchange and signature tests between the candidate build and each peer system that will talk to it, including the versions the peers run and any hybrid or composite modes in use. Bouncy Castle lists composite ML-DSA, composite ML-KEM and X-Wing, and PQShield lists PQ/T hybrid signature verification, so test the modes your peers actually negotiate rather than assuming they match. Record which algorithm, parameter set and mode were agreed in each handshake. The step is complete when every peer pair has a result that either completed the exchange or shows the exact failure.

  6. Record results with certificate numbers and dates

    The security lead writes one results record per candidate, listing the runtime, host platform, library artifact and version, the FIPS or CAVP certificate numbers with their dates, the algorithms tested, and the peer interoperability outcomes. Each entry should state the date of the test and the date on which the vendor's documentation was checked, since both change. The record is the document a procurement or audit reviewer reads, so it should separate what the vendor documents from what your own tests showed. The step is complete when the record is filed with the architecture review and each claim traces to a certificate, a vendor page or a test log.

Whether each license or price is published, and how to get a quote

Start by separating the two products on licensing, because the published information differs sharply. The Bouncy Castle open-source APIs are released under the MIT license, as stated on the project's license page, so the core library can be reviewed and used under those terms without a sales conversation. FIPS support is a different matter. The Bouncy Castle FIPS Java API is sold through Keyfactor, which sponsors the Legion of the Bouncy Castle and funds continued development and FIPS certification of the project. Neither the Bouncy Castle site nor Keyfactor's support page lists a price for the FIPS Java API or its support packages, so the cost of FIPS support has to come from a written quote.

PQShield is the opposite case. Its homepage states no licensing terms and no prices. The route it offers is a request-an-evaluation path, which starts with a scoping call and then an evaluation package. Nothing on the public site tells you whether PQShield's IP is licensed per device, per product, per seat or by some other unit, or how support is priced. Treat the homepage as the starting point for a conversation, not as a source of commercial terms. Note also that PQShield's offer spans hardware IP and software IP, so the price basis may differ by component (for example, PQCryptoLib-Core versus PQPlatform-CoPro), and that difference will only appear in a quote.

When you contact each vendor, ask for the same things in writing so the two quotes can be compared. For Bouncy Castle and Keyfactor, request the price and term for the FIPS Java API and any support package, whether the FIPS validation applies to the exact version you run (the Bouncy Castle FIPS FAQ and Maven Central describe bc-fips 2.1.3 as covered by interim certificate #4943, so confirm which module and version the quote covers), and whether the separate bcpqc-fips artifact for ML-KEM, ML-DSA and SLH-DSA is covered, since Maven Central describes it as non-certified. For PQShield, request its license terms, the pricing unit, what the evaluation package includes and how long it runs, the deployment scope, and what support and updates cost. In both cases, ask whether any fee recurs annually and what happens at renewal.

How the evaluation path separates runtime, module and license checks

The path starts at the application language. Java applications branch to the Bouncy Castle FIPS Java API and its bcpqc-fips artifact, which Maven Central describes as non-certified, while C, Linux and embedded targets branch to PQShield software IP. Both branches converge on checking the FIPS certificate against the exact module version you run, then the license and quote, then an interoperability test. Confirm the certificate covers the version you deploy, not a related release.

Runtime choice drives the branch, and both paths meet at the same three checks.

What the sources do not say about either option

The sources listed on this page leave several points open, and these matter most when you are choosing between Bouncy Castle FIPS Java API and PQShield. The Bouncy Castle interoperability page lists ML-KEM, ML-DSA, SLH-DSA, LMS/HSS, XMSS and XMSS^MT as standardized and implemented, but it does not map any of them to the FIPS Java module. The post-quantum algorithms for the BCFIPS provider ship in a separate artifact, org.bouncycastle:bcpqc-fips, which Maven Central describes as non-certified. Before you rely on any post-quantum algorithm inside a FIPS boundary, confirm with Keyfactor and with the current FIPS certificate for bc-fips exactly which algorithms fall inside that boundary for the version you plan to run.

On the PQShield side, the homepage gives no prices and no licensing terms. It offers a request-an-evaluation path with a scoping call and an evaluation package, so cost can only be known after that conversation. NIST certificate #5587 lists PQCryptoLib-Core at FIPS 140-3 overall Level 1, software, tested by Lightship Security, with ML-KEM and ML-DSA among the approved algorithms. The sources do not say whether that listing extends to the other components in the PQShield product line, or to the SDK build that adds an OpenSSL 3.x provider. Ask PQShield to name the exact module, version and boundary you would be buying, and check the certificate entry on the NIST CMVP site yourself.

The sources listed on this page do not give comparative performance figures for either option, and they do not measure throughput, latency or memory use on the same hardware. PQShield's homepage states a figure for PQMicroLib-Core, but that is a single product claim and not a head-to-head result. Bouncy Castle's pages describe supported Java versions and native acceleration for AES-NI and SHA-256, but they do not give benchmark results for post-quantum operations. Run your own benchmark on your target platform with the algorithms and parameter sets you intend to use, and ask each vendor for the test conditions behind any figure they provide.

What to ask each vendor in writing before buying

Which FIPS certificate and module version covers the exact build we ship?

Ask for the certificate number and the exact module version it covers, then check that the build you ship matches it. Bouncy Castle's Maven Central listing for bc-fips 2.1.3 describes it as a patched version of BC-FJA-2.1.2 covered by interim FIPS Certificate #4943 at FIPS 140-3 Level 1, while the Bouncy Castle FIPS FAQ says BC-FJA 2.0.0 holds NIST certificate #4743. These are different module versions, so a certificate for one does not automatically cover another. For PQShield, NIST lists CMVP certificate 5587 for PQCryptoLib-Core at FIPS 140-3 overall Level 1, but PQShield's CAVP announcement refers to PQCryptoLib-Core v3.5.1 under CAVP certificate #A8807, which is a separate algorithm validation. Ask each vendor to confirm in writing which version and build sits under each certificate and whether your exact build is covered.

Which algorithms run inside the validated boundary?

Ask each vendor to list, algorithm by algorithm, which ones are inside the validated cryptographic boundary and which sit outside it. The two products overlap on paper: Bouncy Castle's interoperability page lists ML-KEM, ML-DSA, SLH-DSA, LMS/HSS, XMSS and XMSS^MT, plus composite ML-DSA, composite ML-KEM and X-Wing, and PQShield's homepage lists ML-KEM, ML-DSA, SLH-DSA, LMS and XMSS. Bouncy Castle's page does not map these algorithms to the FIPS Java module, and Maven Central describes the post-quantum artifact bcpqc-fips as non-certified. Ask whether ML-KEM and ML-DSA are inside the FIPS boundary in the version you run, and whether any hybrid or composite mode is covered. Do not assume that listing an algorithm means it is validated.

What does the license permit for our product?

Ask for the license terms that apply to your specific use, in writing. Bouncy Castle's open-source APIs are published under an MIT-style license on its license page, but the FIPS-validated module is commercially supported through Keyfactor, so the terms you need may differ from the open-source license. PQShield's homepage states no licensing terms, so you should request them directly. Ask whether the terms permit redistribution inside your product, whether they cover your deployment model (for example, on-premises, cloud or embedded), whether there are restrictions on sublicensing to your customers, and whether any term depends on the certificate or module version you rely on. Have your legal team review the terms before you commit to a design.

What does the support package include, and what does it cost?

Ask each vendor to list what the support package includes, how long it lasts and what it costs, all in writing. Neither the Bouncy Castle site nor Keyfactor's support page publishes a price for the FIPS Java API or its support packages, so you will need a quote. Ask what happens to support when a certificate changes or ages out, whether a patched module version is included, and how fixes for newly published standards are delivered. For PQShield, ask for the same details, since its homepage describes a scoping call and an evaluation package but gives no published price. What drives the cost is usually the support tier, the number of deployments and whether you need a specific module version kept current. Get each element named in the quote.

What does the evaluation package contain?

Ask each vendor what the evaluation package contains and whether it includes access to the validated module, documentation, test vectors and a scoping call. PQShield's homepage says you can request an evaluation, which includes a scoping call and an evaluation package, but it does not list the contents. For Bouncy Castle, ask whether the FIPS Java API evaluation includes the validated module version you would deploy, or only the open-source API. Ask how long the evaluation runs, what it is allowed to be used for, and whether it can be used in a test environment that mirrors production. Agree in writing what you can test before committing to a purchase.

What does the interoperability testing record cover?

Ask each vendor for its interoperability test record: which protocols, peer implementations and versions were tested, and which combinations were not. Bouncy Castle's interoperability page documents the standards it implements, including FIPS 203, FIPS 204, FIPS 205, SP 800-208, RFC 8554, RFC 8708, RFC 8391 and the composite and X-Wing modes, but it does not map each one to the FIPS Java module or name the peers tested against. PQShield's homepage names PQCryptoLib-SDK as an OpenSSL 3.x provider, so ask which OpenSSL 3.x versions were tested and which TLS stacks were tested with it. Ask whether the record covers your exact runtime, such as the Java version or operating system you deploy on. Where the record is silent, plan your own interoperability testing before go-live.

How DeployOpen works on this

DeployOpen does not sell either library and is not a partner or reseller of Bouncy Castle or PQShield. We help teams decide which library fits their application and runtime, then plan, integrate, test and document that choice inside their own infrastructure, so the security and compliance teams can review what is deployed.

How we scope

  • We confirm the application language, Java version and target runtimes before comparing the two libraries.
  • We map which algorithms the application needs, such as ML-KEM, ML-DSA or SLH-DSA, against what each vendor documents.
  • We agree a fixed scope in writing, covering deliverables, timelines and what the vendor license and evaluation steps require.

How we build

  • We integrate the chosen library into the client's build pipeline and test the algorithm and provider configuration.
  • We check FIPS module placement and certificate status against the vendor's published certificate numbers before relying on them.
  • We run security testing on the integration, including key handling, dependency versions and fallback behavior.

How we hand over

  • We document the library version, module boundary, algorithms in use and the configuration needed to reproduce the setup.
  • We produce the evidence a compliance assessor or customer security review will ask for, without issuing any attestation ourselves.
  • We walk the client's engineers through the deployment and the upgrade steps needed when the vendor releases a new version.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after the initial handover.
  • We track vendor version and certificate changes so the client knows when a library upgrade is needed.
  • Before committing to either vendor, we recommend confirming licensing, support and pricing directly with the vendor in writing, since neither publishes a price for this work.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.