Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.pqc.crypto.ntru
Class NTRUPrivateKeyParameters

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

All Implemented Interfaces:
  CipherParameters

public class NTRUPrivateKeyParameters
extends NTRUKeyParameters

NTRU private key parameter class.

Constructor Summary
`NTRUPrivateKeyParameters(NTRUParameters params, byte[] key)`

Method Summary
`byte[]` | `getEncoded()` Get the encoding of the private key.
`byte[]` | `getPrivateKey()` Get private key.

Methods inherited from class org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters
`getParameters`

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

### NTRUPrivateKeyParameters

    public NTRUPrivateKeyParameters(NTRUParameters params,
                                    byte[] key)

Method Detail

### getPrivateKey

    public byte[] getPrivateKey()

  Get private key.

  Returns:
    a byte array containing private key

### getEncoded

    public byte[] getEncoded()

  Get the encoding of the private key.

  Returns:
    a byte array containing private key

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD