Class BCMLDSAPrivateKey
java.lang.Object
org.bouncycastle.jcajce.provider.asymmetric.mldsa.BCMLDSAPrivateKey
- All Implemented Interfaces:
Serializable
,Key
,PrivateKey
,Destroyable
,MLDSAKey
,MLDSAPrivateKey
- See Also:
-
Constructor Details
-
BCMLDSAPrivateKey
-
BCMLDSAPrivateKey
- Throws:
IOException
-
-
Method Details
-
equals
Compare this ML-DSA private key with another object. -
hashCode
public int hashCode() -
getAlgorithm
- Specified by:
getAlgorithm
in interfaceKey
- Returns:
- name of the algorithm
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncoded
in interfaceKey
-
getPublicKey
Description copied from interface:MLDSAPrivateKey
Return the public key corresponding to this private key.- Specified by:
getPublicKey
in interfaceMLDSAPrivateKey
- Returns:
- a ML-DSA Public Key
-
getParameterSpec
Description copied from interface:MLDSAKey
Return the parameters for this key.- Specified by:
getParameterSpec
in interfaceMLDSAKey
- Returns:
- a MLDSAParameterSpec
-
getFormat
-
toString
-