methodTstMLDSAPublicKey.VerifySignature
function VerifySignature(const aSignedData: AnsiString; const aSignature : AnsiString; aSignFormat: tStringFormat = sfBinary) : Boolean; overload;
Verifies an ML-DSA signature (Hash-ML-DSA or Pure-ML-DSA depending on DigestAlgorithm) over aSignedData.
function VerifySignature(const aSignedData: AnsiString; const aCtx : AnsiString; const aSignature : AnsiString; aSignFormat: tStringFormat = sfBinary) : Boolean; overload;
Overload accepting an explicit application context aCtx (FIPS 204 ctx string, at most 255 bytes), used when the protocol/application binds signatures to a specific context string.
function VerifySignature(aSignedData: TStream; const aSignature : AnsiString; aSignFormat: tStringFormat = sfBinary) : Boolean; overload;
Stream overload. When DigestAlgorithm is haNull the whole stream is read and verified as-is (pure ML-DSA over the raw message); otherwise aSignedData is first digested with DigestAlgorithm and that digest is verified (the pre-hash variant).