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

# Package org.bouncycastle.pqc.crypto.util

Shared PQC factory utilities — `PublicKeyFactory`, `PrivateKeyFactory`, `SubjectPublicKeyInfoFactory`, `PrivateKeyInfoFactory` and the OID lookup helpers that route PQC parameter sets between the wire-format ASN.1 layer and the lightweight `Parameters` types.

See: Description

- Class Summary
  Class | Description
  --- | ---
  PQCOtherInfoGenerator | OtherInfo Generator for which can be used for populating the SuppPrivInfo field used to provide shared secret data used with NIST SP 800-56A agreement algorithms.
  PQCOtherInfoGenerator.PartyU | Party U (initiator) generation.
  PQCOtherInfoGenerator.PartyV | Party V (responder) generation.
  PrivateKeyFactory | Factory for creating private key objects from PKCS8 PrivateKeyInfo objects.
  PrivateKeyInfoFactory | Factory to create ASN.1 private key info objects from lightweight private keys.
  PublicKeyFactory | Factory to create asymmetric public key parameters for asymmetric ciphers from range of ASN.1 encoded SubjectPublicKeyInfo objects.
  SecretWithEncapsulationImpl |
  SubjectPublicKeyInfoFactory | Factory to create ASN.1 subject public key info objects from lightweight public keys.

## Package org.bouncycastle.pqc.crypto.util Description

Shared PQC factory utilities — `PublicKeyFactory`, `PrivateKeyFactory`, `SubjectPublicKeyInfoFactory`, `PrivateKeyInfoFactory` and the OID lookup helpers that route PQC parameter sets between the wire-format ASN.1 layer and the lightweight `Parameters` types.