Package 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 | Description
    --- | ---
    `NHPublicKeyParameters​(byte[] pubData)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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.