org.bouncycastle.crypto

## Interface RawAgreement

- All Known Implementing Classes:
    BasicRawAgreement, ECDHCRawAgreement, ECDHRawAgreement, ECMQVRawAgreement, X25519Agreement, X448Agreement, XDHUnifiedAgreement

      public interface RawAgreement

- - ### Method Summary

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

- - ### Method Detail

    - #### init

          void init(CipherParameters parameters)

    - #### getAgreementSize

          int getAgreementSize()

    - #### calculateAgreement

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