TPDFlibSignatureCoverageStatus

Data types, security and signatures

Description

TPDFlibSignatureCoverageStatus reports what part of the file the verified signature authenticates. TPDFlibSignatureVerificationReport carries it in its CoverageStatus field beside the raw ByteRange checks.

The value is derived from the signed byte ranges, the revision's end marker and the current file length, not from a signer-supplied claim.

Syntax

Delphi

TPDFlibSignatureCoverageStatus = (scUnknown, scInvalid, scSignedRevision, scWholeDocument);

Values

scUnknownCoverage was not determined, for example because verification stopped before the ByteRange checks
scInvalidThe ByteRange is malformed or out of bounds, so no signed revision can be established
scSignedRevisionThe signature covers the revision it was added in; later incremental updates exist
scWholeDocumentThe signed revision ends at the current end of the file, so the signature covers the whole document

See also

TPDFlibSignatureVerificationReport, VerifySignatureByIndex, VerifySignatureByName