Package 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
Constructors Constructor Description NTRUPrivateKeyParameters(NTRUParameters params, byte[] key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
NTRUPrivateKeyParameters
public NTRUPrivateKeyParameters(NTRUParameters params, byte[] key)
-
-