GetSignaturePermissionInfo

security and signatures

Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)

Description

Selects a signature field by zero-based index and reports its DocMDP and FieldMDP permission constraints.

The report distinguishes a valid DocMDP transform from a matching catalog /Perms /DocMDP reference and shows whether a field /Lock dictionary matches its FieldMDP transform, action, and field-name list.

Syntax

Delphi

Function TPDFlibSignatureVerifier.GetSignaturePermissionInfo(SignatureIndex: Integer;
  Out Report: TPDFlibSignaturePermissionReport): Boolean;

Parameters

SignatureIndexZero-based signature field index
ReportReceives DocMDP level, catalog match, FieldMDP and lock details for the selected field

Return values

TrueThe field was selected and the report was filled
FalseNo document is open or the index is out of range; the report is returned zeroed

See also

TPDFlibSignatureVerifier, SetSignProcessDocMDP, SetSignProcessFieldLock