ClearLOTLSigningCertificates

Security and signatures

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

Description

Removes every pinned LOTL signing certificate from the trust source. After the call no certificate is trusted to countersign a LOTL, so the next LoadLOTLFromString, LoadLOTLFromFile or LoadLOTLFromURL fails until at least one new certificate is pinned through AddLOTLSigningCertificateDER or AddLOTLSigningCertificateFromFile.

Syntax

Delphi

Procedure TPDFlibEUTSLTrustSource.ClearLOTLSigningCertificates;

Remarks

The procedure discards only the pinned bootstrap certificates. The loaded LOTL snapshot, its national trusted-list services and their diagnostic state stay in place; Clear discards those.

Clearing the pin list counts as a trust configuration change, so the source revision advances and a verifier that caches by revision rebuilds its chain engine on the next verification.

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier