VerifySignature

security and signatures

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

Description

Verifies the first signature field and its first signer, discarding the detailed report.

It is a compatibility shortcut for VerifySignatureByIndex(0, 0, Report); use the ByIndex and ByName variants with the report output when more than one signature or signer is present.

Syntax

Delphi

Function TPDFlibSignatureVerifier.VerifySignature: TPDFlibSignatureVerifierResult;

Return values

vsValidThe selected signer's signature authenticates the bytes its ByteRange covers
vsInvalidThe ByteRange is invalid or the cryptographic integrity check failed
vsUnknownNo document is open, the field cannot be resolved, the SubFilter is unsupported, or the contents are empty

See also

TPDFlibSignatureVerifier, TPDFlibSignatureVerifierResult, EnumSignatures