Class BCHQCPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.hqc.BCHQCPublicKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PublicKey, HQCKey
-
Constructor Summary
ConstructorsConstructorDescriptionBCHQCPublicKey(SubjectPublicKeyInfo keyInfo) BCHQCPublicKey(HQCPublicKeyParameters params) -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParams
-
Constructor Details
-
BCHQCPublicKey
-
BCHQCPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
-
hashCode
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "HQC"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:HQCKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceHQCKey- Returns:
- a HQCParameterSpec
-