GetSignatureMetadataByName

security and signatures

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

Description

Reads the signature dictionary metadata of the named field: /Filter, /SubFilter, the /M signing time as a PDF date string, /Name, /Reason, /Location, and /ContactInfo.

No PKCS#7 decoding takes place, and ByteRangeValid reports the result of the structural /ByteRange check. Certificate summary and trust-chain validation are exposed separately by the certificate and chain methods.

Syntax

Delphi

Function TPDFlibSignatureVerifier.GetSignatureMetadataByName(Const FieldName: WideString; Out Info: TPDFlibSignatureMetadata): Boolean;

Parameters

FieldNameFully qualified name of the signature field
InfoReceives the signature dictionary metadata of the named field

Return values

TrueThe document is open, the field exists, and the record was populated
FalseNo document is open, the name is empty, or the field does not exist; the record is returned cleared

See also

TPDFlibSignatureMetadata, TPDFlibSignatureVerifier, EnumSignatures