Package org.bouncycastle.pqc.crypto.ntru
Class NTRUPublicKeyParameters
java.lang.Object
org.bouncycastle.crypto.params.AsymmetricKeyParameter
org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters
org.bouncycastle.pqc.crypto.ntru.NTRUPublicKeyParameters
- All Implemented Interfaces:
CipherParameters
NTRU public key parameter class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the encoding of public key.byte[]
Get public key.Methods inherited from class org.bouncycastle.pqc.crypto.ntru.NTRUKeyParameters
getParameters
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
-
Constructor Details
-
NTRUPublicKeyParameters
-
-
Method Details
-
getPublicKey
public byte[] getPublicKey()Get public key.- Returns:
- a byte array containing public key
-
getEncoded
public byte[] getEncoded()Get the encoding of public key.- Returns:
- a byte array containing public key encoding
-