Class BCSPHINCSPlusPrivateKey
java.lang.Object
org.bouncycastle.pqc.jcajce.provider.sphincsplus.BCSPHINCSPlusPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, SPHINCSPlusKey, SPHINCSPlusPrivateKey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParamsMethods inherited from interface Destroyable
destroy, isDestroyed
-
Constructor Details
-
BCSPHINCSPlusPrivateKey
-
BCSPHINCSPlusPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
-
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
-