THotPDF.GetLoadedSignaturePermissions Method
Reads the DocMDP certification permission and FieldMDP field-lock 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 the parsed certification and field-lock permission 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
- The returned structure distinguishes a document certification policy from an individual signature field lock
TransformMethodsdistinguishes DocMDP, UR, FieldMDP, Identity, and unknown methods without dropping duplicate or unsupported references UsageRightsexposes every standard document, annotation, form, signature, and embedded-file right and identifies whether catalogue/Perms /URor/UR3selects the signatureIdentityObjectNumberscontains the bounded transitive indirect-object scope rooted atIdentity /DataStructurallyValidfails closed for malformed directness, versions, duplicate methods, catalogue mismatch, or unknown critical transforms andIssuereports the first reason- This method inspects permission dictionaries and does not verify the cryptographic signature value