Class BCHQCPublicKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.hqc.BCHQCPublicKey
- All Implemented Interfaces:
Serializable
,Key
,PublicKey
,HQCKey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBCHQCPublicKey
(SubjectPublicKeyInfo keyInfo) BCHQCPublicKey
(HQCPublicKeyParameters params) -
Method Summary
-
Constructor Details
-
BCHQCPublicKey
-
BCHQCPublicKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this HQC public key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "HQC"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getFormat
-
getParameterSpec
Description copied from interface:HQCKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceHQCKey
- Returns:
- a HQCParameterSpec
-