GetSignatureMetadata

Security and signatures

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

Description

Reads the metadata of the first signature field without any PKCS#7 crypto work.

Only entries of the signature dictionary such as /Filter, /SubFilter, /M, /Reason, /Location, /ContactInfo, and /Name are returned, plus the structural /ByteRange check, so the call is cheap enough for UI lists.

Syntax

Delphi

Function TPDFlibSignatureVerifier.GetSignatureMetadata(Out Info: TPDFlibSignatureMetadata): Boolean;

Parameters

InfoReceives the signature dictionary metadata of the first signature field

Return values

TrueA signature field was found and the metadata record was populated
FalseNo document is open or the document has no signature field; the record is returned cleared

See also

TPDFlibSignatureMetadata, TPDFlibSignatureVerifier, EnumSignatures