MaxXMLBytes

Security and signatures

Requires the Enterprise edition — declared in the Enterprise unit PDFlibEUTSL, which other editions do not include

Description

Maximum accepted size in bytes for one trusted-list XML document. The bound applies to in-memory strings passed to LoadLOTLFromString and LoadTSLFromString, to file reads of LoadLOTLFromFile and LoadTSLFromFile, and to the response of every download of LoadLOTLFromURL, LoadTSLFromURL and RefreshAllTSLs.

The value defaults to 64 MiB and the setter clamps assignments to the range from 64 KiB to 256 MiB.

Syntax

Delphi

Property MaxXMLBytes: Integer Read FMaxXMLBytes Write SetMaxXMLBytes;

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier