Org.BouncyCastle.Crypto.Signers.MLDsaSigner
ML-DSA (FIPS 204) signature primitive. Accumulates the message via the streaming
ISigner surface and dispatches it through the FIPS 204 message-representative
construction. The signer must be bound to the same ParameterSet as
the key it is initialised with. Optional ParametersWithContext (up to 255 bytes)
and ParametersWithRandom envelopes are unwrapped during Init.
Construct an ML-DSA signer for the supplied parameter set. Only the pure variants are
accepted; the HashML-DSA variants (those carrying a pre-hash OID) must go through their
dedicated wrapper instead.
Finalise the message representative and produce the signature. Internally calls
Reset on success.
Length in bytes of the signatures this signer produces (FIPS 204
CryptoBytes).
Initialise for signing (private key) or verification (public key). Accepts
ParametersWithContext for a context up to 255 bytes and
ParametersWithRandom for a non-deterministic signer's nonce source.
Reset the streaming digest and re-seed it with the bound public-key hash and the captured
context, ready for another sign/verify pass against the same key.
Finalise the message representative and verify signature. Internally calls
Reset on success.