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
| FieldName | Fully qualified name of the signature field |
|---|---|
| Info | Receives the signature dictionary metadata of the named field |
Return values
| True | The document is open, the field exists, and the record was populated |
|---|---|
| False | No document is open, the name is empty, or the field does not exist; the record is returned cleared |
See also
TPDFlibSignatureMetadata, TPDFlibSignatureVerifier, EnumSignatures