Class BCNHPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.newhope.BCNHPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,NHKey
,NHPublicKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCNHPublicKey
(SubjectPublicKeyInfo keyInfo) BCNHPublicKey
(NHPublicKeyParameters params) -
Method Summary
-
Constructor Details
-
BCNHPublicKey
-
BCNHPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this SPHINCS-256 public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "NH"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getPublicData
public byte[] getPublicData()- Specified by:
getPublicData
in interfaceNHPublicKey
-