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;
Returns
The SHA-1, SHA-256, SHA-384, or SHA-512 imprint as configured, or an empty string when preparation fails
See also
SetPAdESSignatureTimeStampDigestAlgorithm, SetPAdESSignatureTimeStampToken