LoadLOTLFromURL
Security and signatures
Requires the Enterprise edition — declared in the Enterprise unit PDFlibEUTSL, which other editions do not include
Description
Downloads an EU list of trusted lists over HTTPS and installs it. The URL must start with https:// while RequireHTTPS is at its default True; the download honors NetworkTimeoutMS and accepts at most MaxXMLBytes bytes. The downloaded document then passes through the same pinned-certificate signature verification and structural validation as LoadLOTLFromString.
Syntax
Delphi
Function TPDFlibEUTSLTrustSource.LoadLOTLFromURL(Const URL: WideString): Boolean;Parameters
| URL | HTTPS address of the LOTL XML document; an HTTP URL is rejected while RequireHTTPS is enabled |
|---|
Return values
| True | The download and verification succeeded; GetLOTLLocation returns the URL |
|---|---|
| False | The scheme check, download or validation failed; GetLastError carries the transport error or validation message |
Remarks
As with the other loaders, success replaces the pointer set atomically and clears the loaded national services; a failure preserves the previous verified snapshot.
Disabling RequireHTTPS is intended only for controlled test environments.