Class NTRUPrivateKeyParameters

All Implemented Interfaces:
CipherParameters

public class NTRUPrivateKeyParameters extends NTRUKeyParameters
NTRU private key parameter class.
  • Constructor Details

    • NTRUPrivateKeyParameters

      public NTRUPrivateKeyParameters(NTRUParameters params, byte[] key)
  • Method Details

    • 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