GetPAdESSignatureCMSBytes

Security and Signatures

Description

Returns the selected signature's /Contents trimmed to canonical CMS DER after GetPAdESSignatureValueHashHex has prepared the process

Most callers should pass the TSA token directly to SetPAdESSignatureTimeStampToken

This accessor remains available for advanced workflows that intentionally perform a more general CMS rewrite

Syntax

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

Returns

Canonical CMS DER bytes, or an empty string before preparation, for an invalid process, or after a load failure

See also

SetPAdESSignatureTimeStampToken, SetPAdESSignatureCMSBytes