THPDFSignaturePermissionInfo Record

Structural DocMDP, FieldMDP, and usage rights policy dictionaries stored in a signed PDF

Declaration

THPDFSignaturePermissionInfo= record
  TransformMethods: THPDFSignatureTransformMethods;
  TransformReferenceCount: Integer;
  HasDocMDP: boolean;
  DocMDPPermission: THPDFDocMDPPermission;
  HasFieldLock: boolean;
  HasFieldMDP: boolean;
  FieldLockAction: THPDFFieldLockAction;
  FieldNames: THPDFAnsiStringArray;
  HasUR: boolean;
  UsageRights: THPDFUsageRights;
  UsageRightsPermissionSource: THPDFUsageRightsPermissionSource;
  CatalogUsageRightsMatches: boolean;
  UsageRightsRestrictAll: boolean;
  UsageRightsMessage: AnsiString;
  HasIdentity: boolean;
  IdentityObjectNumbers: THPDFIntegerArray;
  UnknownTransformMethods: THPDFAnsiStringArray;
  CatalogPermissionMatches: boolean;
  StructurallyValid: boolean;
  Issue: AnsiString;
end;

Unit

HPDFDoc

Fields

FieldPurpose
TransformMethodsSet of recognized /TransformMethod values found on signature dictionaries
TransformReferenceCountNumber of transform parameter references inspected
HasDocMDPTrue when a DocMDP transform with a permission dictionary exists
DocMDPPermissionDocMDP permission level declared by the signing signature (1 to 3)
HasFieldLockTrue when a FieldLock transform parameter dictionary is present
HasFieldMDPTrue when a FieldMDP transform is present on any signature
FieldLockActionLock action (All / Include / Exclude) of the field lock dictionary
FieldNamesField names listed by the lock or FieldMDP policy
HasURTrue when a usage rights signature exists
UsageRightsSet of usage rights enabled by the UR signature
UsageRightsPermissionSourceWhich revision's UR signature supplies the effective rights
CatalogUsageRightsMatchesTrue when the Catalog /Perms entry agrees with the UR signature
UsageRightsRestrictAllTrue when the UR policy restricts every documented capability
UsageRightsMessageDetail text about the usage rights evaluation
HasIdentityTrue when an Identity transform (document timestamp style) is present
IdentityObjectNumbersObject numbers of the signatures carrying the Identity transform
UnknownTransformMethodsTransform method names outside the recognized set, a tampering hint
CatalogPermissionMatchesTrue when the Catalog permission bits agree with the DocMDP policy
StructurallyValidTrue when every policy dictionary parsed without structural problems
IssueFirst structural problem found, empty when StructurallyValid holds

Usage notes

Related APIs