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

org.bouncycastle.pqc.crypto.newhope

## Class NHPublicKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.newhope.NHPublicKeyParameters

- All Implemented Interfaces:
    CipherParameters

      public class NHPublicKeyParameters
      extends AsymmetricKeyParameter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NHPublicKeyParameters(byte[] pubData)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `byte[]` | `getPubData()` Return the public key data.

    - ### Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter

      `isPrivate`

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

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

- - ### Constructor Detail

    - #### NHPublicKeyParameters

          public NHPublicKeyParameters(byte[] pubData)

  - ### Method Detail

    - #### getPubData

          public byte[] getPubData()

      Return the public key data.
      Returns:
        the public key values.