Interface MLDSAPrivateKey

All Superinterfaces:
Destroyable, Key, MLDSAKey, PrivateKey, Serializable
All Known Implementing Classes:
BCMLDSAPrivateKey

public interface MLDSAPrivateKey extends PrivateKey, MLDSAKey
  • Method Details

    • getPublicKey

      MLDSAPublicKey getPublicKey()
      Return the public key corresponding to this private key.
      Returns:
      a ML-DSA Public Key
    • getPrivateData

      byte[] getPrivateData()
      Return the long form private data for the ML-DSA private key.
      Returns:
      long form private data for private key.
    • getSeed

      byte[] getSeed()
      Return the seed the private key was generated from (if available).
      Returns:
      the seed for the private key, null if not available.