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.
namespace Org.BouncyCastle.Crypto.Signers
{
public sealed class MLDsaSigner : ISigner
{
public string AlgorithmName { get; }
public MLDsaSigner(MLDsaParameters parameters, bool deterministic);
public void Init(bool forSigning, ICipherParameters parameters);
public void Update(byte input);
public void BlockUpdate(byte[] input, int inOff, int inLen);
public void BlockUpdate(ReadOnlySpan<byte> input);
public int GetMaxSignatureSize();
public byte[] GenerateSignature();
public bool VerifySignature(byte[] signature);
public void Reset();
}
}