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

DSSProcessIDA DSS process created by one of the NewPAdESDSSProcess functions.
URLThe address to download from.

Return values

1The material was downloaded and added.
0The 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.

See also

FetchRevocationMaterial, AddPAdESDSSCertificate