THPDFPDFMACLocation Type
Reports where an AuthCode PDF MAC is held inside the document
Declaration
THPDFPDFMACLocation= (pmlUnknown, pmlStandalone,
pmlAttachedToSignature);
Unit
HPDFDoc
Values
| Value | Purpose |
|---|---|
pmlUnknown | The location could not be made out; this is the state before the AuthCode trailer parses successfully |
pmlStandalone | The MAC sits 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 tied to that signature object through its SigObjRef |
Usage notes
- Read
LocationfromTHPDFPDFMACValidationInfotogether withSignatureObjectNumberandSignatureGeneration, which are filled in for attached MACs - An
AttachedToSigAuthCode without a parseableSigObjReffails withpmsMalformedinstead of being downgraded to a standalone interpretation - Check
FullFileCoverageon the validation info when you need to know whether the MAC spans the whole file