LoadTSLFromURL

Security and signatures

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

Description

Downloads and loads the national trusted service list that the LOTL pointer at PointerIndex references. The download address is taken from the pointer recorded in the loaded LOTL, so the call takes no URL argument; the address must start with https:// while RequireHTTPS is enabled, and the request honors NetworkTimeoutMS and MaxXMLBytes.

The downloaded document must be signed by a certificate carried in the pointer and must match its territory, exactly as with LoadTSLFromString.

Syntax

Delphi

Function TPDFlibEUTSLTrustSource.LoadTSLFromURL(PointerIndex: Integer): Boolean;

Parameters

PointerIndexZero-based index of the LOTL pointer whose stored location is downloaded

Return values

TrueThe trusted list was downloaded, verified and installed for its territory
FalseThe pointer index is out of range, the scheme check or download failed, or validation failed; GetLastError describes the failure

Remarks

A failed download or verification preserves the previously loaded services of that territory.

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier