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
NTRU private key parameter class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the encoding of the private key.byte[]
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 Details
-
NTRUPrivateKeyParameters
-
-
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
-