Class BCSNTRUPrimePublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.ntruprime.BCSNTRUPrimePublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,SNTRUPrimeKey
- See Also:
-
Constructor Details
-
BCSNTRUPrimePublicKey
-
BCSNTRUPrimePublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this NTRULPRime public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "NTRULPRime"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getParameterSpec
- Specified by:
getParameterSpec
in interfaceSNTRUPrimeKey
-