ValidatePDFMACChain
Security and signatures
Description
Validates the integrity of all incremental revisions and ISO/TS 32004:2024 PDF 2.0 MAC tokens across the revision chain of the selected document
Syntax
Delphi
Function TPDFlib.ValidatePDFMACChain: Integer;
Return values
| 1 | All incremental revisions are structurally complete and all standalone or signature-attached MAC tokens in the chain verified |
|---|---|
| 0 | No MAC token was present, a revision boundary was truncated, or MAC verification failed |
Remarks
Supports standalone and /AttachedToSig MAC tokens using SHA-256, SHA-384, SHA-512, SHA3-256, SHA3-384, and SHA3-512