Package org.bouncycastle.crypto

## Interface RawAgreement

- All Known Implementing Classes:
    `X25519Agreement`, `X448Agreement`, `XDHUnifiedAgreement`

      public interface RawAgreement

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | 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)