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

org.bouncycastle.pqc.crypto.ntru

## Class NTRUKeyParameters

- java.lang.Object
- - org.bouncycastle.crypto.params.AsymmetricKeyParameter
  - - org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters

- All Implemented Interfaces:
    CipherParameters
  Direct Known Subclasses:
    NTRUPrivateKeyParameters, NTRUPublicKeyParameters

      public abstract class NTRUKeyParameters
      extends AsymmetricKeyParameter

  Abstract class for NTRU key pair.

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `NTRUParameters` | `getParameters()` Get NTRU parameter set used to generate this key.

    - ### 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`

- - ### Method Detail

    - #### getParameters

          public NTRUParameters getParameters()

      Get NTRU parameter set used to generate this key.
      Returns:
        NTRU parameter set used to generate this key