Class BCNHPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.newhope.BCNHPublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, NHKey, NHPublicKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCNHPublicKey(SubjectPublicKeyInfo keyInfo) BCNHPublicKey(NHPublicKeyParameters params) -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParams
-
Constructor Details
-
BCNHPublicKey
-
BCNHPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "NH"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getPublicData
public byte[] getPublicData()- Specified by:
getPublicDatain interfaceNHPublicKey
-