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
- This method inspects permission dictionaries and does not verify the cryptographic signature value