Org.BouncyCastle.Crypto.Signers.SlhDsaSigner
SLH-DSA (FIPS 205) signature primitive. Buffers the message via the streaming
ISigner surface prefixed with the FIPS 205 context envelope and dispatches the
whole buffer to the hypertree sign / verify routines on finalisation. 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 SlhDsaSigner : ISigner
{
public string AlgorithmName { get; }
public SlhDsaSigner(SlhDsaParameters 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 int GetMaxSignatureSize();
public byte[] GenerateSignature();
public bool VerifySignature(byte[] signature);
public void Reset();
}
}