PLDefaultSignatureSourceLimits

Signature utilities

Requires the Enterprise edition — declared in the Enterprise-only unit PDFlibEntSignatureStructure, which other editions do not include

Description

Returns the documented default work limits of PLAuditSignatureSource

Syntax

Delphi

Function PLDefaultSignatureSourceLimits: TPLSignatureSourceLimits;

Return values

MaxBytes67108864: 64 MiB for the read budget and 64 MiB for the scan budget
MaxNodes100000: number of parsed nodes, including cross-reference entries
MaxDepth64: nesting depth of objects, strings, cross-reference chains and locator paths
MaxObjectBytes16777216: 16 MiB for one parsed object

Remarks

Pass the result as Limits of PLAuditSignatureSource to start from these defaults, and lower single fields for a stricter budget. MaxBytes, MaxNodes and MaxDepth must be positive and MaxObjectBytes must be 20 or greater, otherwise the audit stops with an incomplete report

See also

PLAuditSignatureSource, TPLSignatureSourceLimits