THotPDF.GetLoadedSignaturePermissions Method
Reads every standard signature transform method and permission policy associated with a signature in the loaded document
Declaration
function GetLoadedSignaturePermissions(SigIndex: Integer; out Info: THPDFSignaturePermissionInfo): boolean;
Unit
HPDFDoc
Parameters
| Name | Purpose |
|---|---|
SigIndex | Zero-based index of the loaded signature field |
Info | Receives parsed transform, certification, field-lock, usage-right, Identity-scope, Catalog-linkage, and diagnostic information |
Return value
Returns True when the signature exists and its permission information was read, otherwise returns False
Usage notes
- Load a document before calling this method
TransformMethodsdistinguishes DocMDP, UR, FieldMDP, Identity, and unknown methods without dropping duplicate or unsupported referencesUsageRightsexposes every standard document, annotation, form, signature, and embedded-file right and identifies whether Catalog/Perms /URor/UR3selects the signatureIdentityObjectNumberscontains the bounded transitive indirect-object scope rooted atIdentity /DataStructurallyValidfails closed for malformed directness, versions, duplicate methods, Catalog mismatch, or unknown critical transforms andIssuereports the first reason- This method inspects permission dictionaries and does not verify the cryptographic signature value