Class BCSLHDSAPrivateKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.slhdsa.BCSLHDSAPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,SLHDSAKey
,SLHDSAPrivateKey
- See Also:
-
Constructor Details
-
BCSLHDSAPrivateKey
-
BCSLHDSAPrivateKey
- 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 - "SLH-DSA..."
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getPublicKey
Description copied from interface:SLHDSAPrivateKey
Return the public key corresponding to this private key.- Specified by:
getPublicKey
in interfaceSLHDSAPrivateKey
- Returns:
- a SLH-DSA Public Key
-
getParameterSpec
Description copied from interface:SLHDSAKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceSLHDSAKey
- Returns:
- a SLHDSAParameterSpec
-
getFormat
-
toString
-