SetTrustSource

Security and signatures

Requires the Enterprise edition — part of the Enterprise signature verification surface in TPDFlibSignatureVerifier (unit PDFlibEntSignVerify)

Description

Attaches a non-owning TPDFlibSignatureTrustSource that can supply time-specific trust anchors and evaluate a successfully built certificate chain.

Source anchors are combined with manual custom anchors in the same exclusive chain engine, which is cached by source revision and verification time.

Assigning a source disables fallback to Windows system roots when no source or manual anchor is available, letting an application enforce a private trust policy such as an EU trusted list.

Syntax

Delphi

Procedure TPDFlibSignatureVerifier.SetTrustSource(Source: TPDFlibSignatureTrustSource);

Parameters

SourceTrust source instance; the verifier does not take ownership, so the caller must keep it alive

Remarks

Assigning the instance that is already attached is a no-op; assigning a different one releases the cached chain engine and resets the cached source revision and verification time.

A successful source evaluation populates TPDFlibSignatureChainReport.QualificationReport without weakening certificate-chain, usage, validity, signature, or revocation checks.

See also

TPDFlibSignatureVerifier, TPDFlibEUTSLTrustSource, NativeCRLRevocation