org.bouncycastle.pqc.crypto (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

# Package org.bouncycastle.pqc.crypto

Root of the lightweight Post-Quantum Cryptography implementations.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ExchangePairGenerator | Interface for NewHope style key material exchange generators.
  KEMParameters |
  MessageEncryptor | Base interface for a PQC encryption algorithm.
  MessageSigner | Base interface for a PQC signing algorithm.
  StateAwareMessageSigner | Base interface for a PQC stateful signature algorithm.

- Class Summary
  Class | Description
  --- | ---
  DigestingMessageSigner | Implements the sign and verify functions for a Signature Scheme using a hash function to allow processing of large messages.
  DigestingStateAwareMessageSigner | Implements the sign and verify functions for a Signature Scheme using a hash function to allow processing of large messages.
  DigestUtils |
  ExchangePair | Pair for a value exchange algorithm where the responding party has no private key, such as NewHope.
  MessageSignerAdapter |

- Exception Summary
  Exception | Description
  --- | ---
  ExhaustedPrivateKeyException | Exception thrown by a stateful signature algorithm when the private key counter is exhausted.

## Package org.bouncycastle.pqc.crypto Description

Root of the lightweight Post-Quantum Cryptography implementations. Each algorithm lives in its own sub-package (ML-KEM, ML-DSA, SLH-DSA, Falcon, Hawk, MAYO, ...).