GetPAdESSignatureValueHashHex

Security and Signatures

Description

Extracts the selected CMS signer signatureValue and returns its message imprint using the algorithm configured by SetPAdESSignatureTimeStampDigestAlgorithm

The returned uppercase hexadecimal value is the imprint submitted to the TSA for an RFC 3161 signature timestamp request

The call also prepares and caches the source PDF and original CMS for SetPAdESSignatureTimeStampToken and the final EndPAdESSignatureTimeStampProcessTo* operation

Syntax

Function TPDFlib.GetPAdESSignatureValueHashHex(
  STSProcessID: Integer): AnsiString;

Remarks

This call also caches the source PDF bytes and original CMS bytes for the subsequent GetPAdESSignatureCMSBytes and EndPAdESSignatureTimeStampProcessTo* calls.

See also

GetPAdESSignatureCMSBytes, BuildPAdESSignatureTimeStampAttribute