Class BCHQCPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.hqc.BCHQCPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,HQCKey
- See Also:
-
Constructor Details
-
BCHQCPrivateKey
-
BCHQCPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this private 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
-
getParameterSpec
Description copied from interface:HQCKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceHQCKey
- Returns:
- a HQCParameterSpec
-
getFormat
-