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:
getAlgorithmin interfaceKey- Returns:
- name of the algorithm - "SPHINCS+"
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getPublicKey
Description copied from interface:SPHINCSPlusPrivateKeyReturn the public key corresponding to this private key.- Specified by:
getPublicKeyin interfaceSPHINCSPlusPrivateKey- Returns:
- a SPHINCS+ Public Key
-
getParameterSpec
Description copied from interface:SPHINCSPlusKeyReturn the parameters for this key.- Specified by:
getParameterSpecin interfaceSPHINCSPlusKey- Returns:
- a SPHINCSPlusParameterSpec
-
getFormat
-