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
| Kind | Kind of material to download: ddkCertificate or ddkCRL |
|---|---|
| DSSProcessID | Identifier returned by one of the NewPAdESDSSProcess methods |
| URL | The http, https or ldap address to download from |
Return values
| 1 | The material was downloaded and staged |
|---|---|
| 0 | The download or the staging failed |
See also
TPDFlibDSSDownloadKind, TPDFlibDSSMaterialStore, TPDFlibRevocationFetch, AddPAdESDSSCertificateFromURL