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

org.bouncycastle.pqc.crypto.newhope

## Class NHAgreement

- java.lang.Object
- - org.bouncycastle.pqc.crypto.newhope.NHAgreement

-     public class NHAgreement
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NHAgreement()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `calculateAgreement(CipherParameters otherPublicKey)`
    `void` | `init(CipherParameters param)`

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

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

- - ### Constructor Detail

    - #### NHAgreement

          public NHAgreement()

  - ### Method Detail

    - #### init

          public void init(CipherParameters param)

    - #### calculateAgreement

          public byte[] calculateAgreement(CipherParameters otherPublicKey)