Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomMPSignedData.VerifySignedData

function VerifySignedData(aStream, aDest: TStream): Boolean;
Verifies the CMS SignedData in aStream and, for an attached (non-detached) signature, writes the recovered content to aDest (pass nil to check the signature only). This is the verifying (consumer) side; results surface through CertificateNotFound / IllegalFormat and the OnGoodSignature / OnBadSignature events.