GetServiceCount

Security and signatures

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

Description

Returns the number of trust services loaded from all national trusted lists. The value covers services of every territory loaded so far and fixes the valid index range for GetServiceInfo and GetServiceCertificateDER. It drops to zero when a new LOTL is loaded or after Clear, and it changes as trusted lists are loaded, replaced per territory, or refreshed.

Syntax

Delphi

Function TPDFlibEUTSLTrustSource.GetServiceCount: Integer;

Return values

CountNumber of loaded trust services across all territories

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier