THPDFPDFMACLocation Type
Reports where an AuthCode PDF MAC is stored inside the document
Declaration
THPDFPDFMACLocation= (pmlUnknown, pmlStandalone,
pmlAttachedToSignature);
Unit
HPDFDoc
Values
| Value | Purpose |
|---|---|
pmlUnknown | The location could not be determined; this is the state before the AuthCode trailer parses successfully |
pmlStandalone | The MAC lives in a standalone AuthCode entry that authenticates the file without reference to any signature |
pmlAttachedToSignature | The MAC is attached to a signature and authenticates a digest bound to that signature object through its SigObjRef |
Usage notes
- Read
LocationfromTHPDFPDFMACValidationInfotogether withSignatureObjectNumberandSignatureGeneration, which are filled for attached MACs - An
AttachedToSigAuthCode without a parseableSigObjReffails withpmsMalformedrather than downgrading to a standalone interpretation - Check
FullFileCoverageon the validation info when you need to know whether the MAC spans the entire file