ECMQVRawAgreement (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.crypto.agreement

## Class ECMQVRawAgreement

- java.lang.Object
- - org.bouncycastle.crypto.agreement.ECMQVRawAgreement

- All Implemented Interfaces:
    RawAgreement

      public final class ECMQVRawAgreement
      extends java.lang.Object
      implements RawAgreement

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ECMQVRawAgreement()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `calculateAgreement(CipherParameters publicKey, byte[] buf, int off)`
    `int` | `getAgreementSize()`
    `void` | `init(CipherParameters parameters)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ECMQVRawAgreement

          public ECMQVRawAgreement()

  - ### Method Detail

    - #### init

          public void init(CipherParameters parameters)

      Specified by:
        `init` in interface `RawAgreement`

    - #### getAgreementSize

          public int getAgreementSize()

      Specified by:
        `getAgreementSize` in interface `RawAgreement`

    - #### calculateAgreement

          public void calculateAgreement(CipherParameters publicKey,
                                         byte[] buf,
                                         int off)

      Specified by:
        `calculateAgreement` in interface `RawAgreement`