Class BCSPHINCSPlusPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincsplus.BCSPHINCSPlusPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,SPHINCSPlusKey
,SPHINCSPlusPrivateKey
- See Also:
-
Constructor Details
-
BCSPHINCSPlusPrivateKey
-
BCSPHINCSPlusPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this SPHINCS-256 private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm - "SPHINCS+"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getPublicKey
Description copied from interface:SPHINCSPlusPrivateKey
Return the public key corresponding to this private key.- Specified by:
getPublicKey
in interfaceSPHINCSPlusPrivateKey
- Returns:
- a SPHINCS+ Public Key
-
getParameterSpec
Description copied from interface:SPHINCSPlusKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceSPHINCSPlusKey
- Returns:
- a SPHINCSPlusParameterSpec
-
getFormat
-