Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstTimeStampClient.VerifyToken

function VerifyToken(const aToken: iContentInfo; const aData : OctetString; out aInfo : iTSTInfo): Boolean;
VerifyToken verifies a stored token against the data it stamped: the message imprint is recomputed from aData with the token's own imprint algorithm. No network exchange; nonce and clock skew are not checked. On True, aInfo carries the decoded TSTInfo and LastTsaCertificate / LastGenTime are updated.