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

# Package org.bouncycastle.crypto.constraints

Crypto-services-constraint framework: lets callers limit which cryptographic primitives the lightweight API will produce (by key size, by allowlist, by purpose).

See: Description

- Class Summary
  Class | Description
  --- | ---
  BitsOfSecurityConstraint | Basic bits of security constraint.
  ConstraintUtils |
  DefaultServiceProperties |
  LegacyBitsOfSecurityConstraint | Legacy bits of security constraint.
  LoggingConstraint |
  ServicesConstraint | Base class for a constraint, serves to provide storage for the set of exceptions (if any).

## Package org.bouncycastle.crypto.constraints Description

Crypto-services-constraint framework: lets callers limit which cryptographic primitives the lightweight API will produce (by key size, by allowlist, by purpose). Plugs into `CryptoServicesRegistrar`.