Top Fields Methods
org.bouncycastle.jcajce.interfaces

public Interface MLDSAPrivateKey

extends PrivateKey, MLDSAKey
Known Direct Implementers
org.bouncycastle.jcajce.provider.asymmetric.mldsa.BCMLDSAPrivateKey
Imports
java.security.PrivateKey

Field Summary

Inherited from java.security.PrivateKey:
serialVersionUID

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

long form private data for private key.
getPrivateData
()

Return the long form private data for the ML-DSA private key.

public MLDSAPublicKey

Returns:

a ML-DSA Public Key
getPublicKey
()

Return the public key corresponding to this private key.

public byte[]

Returns:

the seed for the private key, null if not available.
getSeed
()

Return the seed the private key was generated from (if available).

Inherited from org.bouncycastle.jcajce.interfaces.MLDSAKey:
getParameterSpec

Method Detail

getPrivateDataback to summary
public byte[] getPrivateData()

Return the long form private data for the ML-DSA private key.

Returns:byte[]

long form private data for private key.

getPublicKeyback to summary
public MLDSAPublicKey getPublicKey()

Return the public key corresponding to this private key.

Returns:MLDSAPublicKey

a ML-DSA Public Key

getSeedback to summary
public byte[] getSeed()

Return the seed the private key was generated from (if available).

Returns:byte[]

the seed for the private key, null if not available.