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

# Package org.bouncycastle.crypto.agreement

Basic key agreement classes.

See: Description

- Class Summary
  Class | Description
  --- | ---
  BasicRawAgreement |
  DHAgreement | a Diffie-Hellman key exchange engine.
  DHBasicAgreement | a Diffie-Hellman key agreement class.
  DHStandardGroups | Standard Diffie-Hellman groups from various IETF specifications.
  DHUnifiedAgreement | FFC Unified static/ephemeral agreement as described in NIST SP 800-56A.
  ECDHBasicAgreement | P1363 7.2.1 ECSVDP-DH ECSVDP-DH is Elliptic Curve Secret Value Derivation Primitive, Diffie-Hellman version.
  ECDHCBasicAgreement | P1363 7.2.2 ECSVDP-DHC ECSVDP-DHC is Elliptic Curve Secret Value Derivation Primitive, Diffie-Hellman version with cofactor multiplication.
  ECDHCRawAgreement |
  ECDHCStagedAgreement |
  ECDHCUnifiedAgreement | EC Unified static/ephemeral agreement as described in NIST SP 800-56A using EC co-factor Diffie-Hellman.
  ECDHRawAgreement |
  ECMQVBasicAgreement |
  ECMQVRawAgreement |
  ECVKOAgreement | GOST VKO key agreement class - RFC 7836 Section 4.3
  MQVBasicAgreement |
  SM2KeyExchange | SM2 Key Exchange protocol - based on https://tools.ietf.org/html/draft-shen-sm2-ecdsa-02
  X25519Agreement |
  X448Agreement |
  XDHBasicAgreement | Key agreement using X25519 or X448.
  XDHUnifiedAgreement |

## Package org.bouncycastle.crypto.agreement Description

Basic key agreement classes.