MlDsaPrivateKey

constructor(algorithm: Algorithm, encoded: ByteArray, publicKey: MlDsaPublicKey)

Parameters

algorithm
encoded

the encoded private key bytes (either seed-only or expanded key).

publicKey

the corresponding public key.


constructor(algorithm: Algorithm, encoded: ByteString, publicKey: MlDsaPublicKey)