GetRevision

security and signatures

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

Description

Returns the revision counter of the trust source. The counter starts at one on creation and advances whenever the trust configuration changes: pinned LOTL signing certificates added or cleared, a new LOTL installed, or the service set replaced by a trusted-list load or refresh.

TPDFlibSignatureVerifier keys its cached chain engine on this revision together with the verification time, so a changed revision forces the engine to be rebuilt with the new anchors on the next verification.

Syntax

Delphi

Function TPDFlibEUTSLTrustSource.GetRevision: Int64; Override;

Return values

Int64Monotonic change counter of the trust configuration, starting at one

See also

TPDFlibEUTSLTrustSource, TPDFlibSignatureVerifier