Class BCNTRUPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.ntru.BCNTRUPublicKey
- All Implemented Interfaces:
Serializable,Key,PublicKey,NTRUKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BCNTRUPublicKey
-
BCNTRUPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this NTRU public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "NTRU"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:NTRUKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceNTRUKey- Returns:
- a NTRUParameterSpec
-