TPDFlibDSSMaterialFetch

Data types, security and signatures

Description

Downloads validation material into a Document Security Store for the FromURL methods.

TPDFlib declares the public methods and a protected dispatch method for downloading validation material into a Document Security Store. The edition class supplies the implementation as a callback of this type. A plain TPDFlib instance supplies none, so the call returns the documented empty result and sets LastErrorCode to PDFLIB_ERROR_ENTERPRISE_REQUIRED. Application code never declares, assigns or calls a value of this type.

Syntax

Delphi

TPDFlibDSSMaterialFetch = Function(Kind: TPDFlibDSSDownloadKind; DSSProcessID: Integer;
  Const URL: WideString): Integer Of Object;

Parameters

KindKind of material to download: ddkCertificate or ddkCRL
DSSProcessIDIdentifier returned by one of the NewPAdESDSSProcess methods
URLThe http, https or ldap address to download from

Return values

1The material was downloaded and staged
0The download or the staging failed

See also

TPDFlibDSSDownloadKind, TPDFlibDSSMaterialStore, TPDFlibRevocationFetch, AddPAdESDSSCertificateFromURL