AddPAdESDSSCertificateFromURL
Digital signatures
Description
Downloads a certificate and files it in the document security store.
Syntax
Delphi
Function TPDFlib.AddPAdESDSSCertificateFromURL(DSSProcessID: Integer; Const URL: WideString): Integer;Parameters
| DSSProcessID | A DSS process created by one of the NewPAdESDSSProcess functions. |
|---|---|
| URL | The address to download from. |
Return values
| 1 | The material was downloaded and added. |
|---|---|
| 0 | The download or the insertion failed; GetTimeStampError carries the reason. |
Remarks
Equivalent to FetchRevocationMaterial followed by AddPAdESDSSCertificate, which remain available when the material comes from somewhere other than a URL.