ClearSignProcessRevocationInfo

Security and signatures

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Removes every CRL and OCSP response configured for the adbe-revocationInfoArchival signed attribute

Syntax

Delphi

Function TPDFlib.ClearSignProcessRevocationInfo(SignProcessID: Integer): Integer; Virtual;

ActiveX

Function PDFlib::ClearSignProcessRevocationInfo(SignProcessID As Long) As Long

DLL

int DLClearSignProcessRevocationInfo(int InstanceID, int SignProcessID);

Parameters

SignProcessIDValue returned by a NewSignProcessFrom* function

Return values

1The process exists and its revocation material was cleared
0The process id was invalid

Remarks

The signing process remains usable and new CRLs or OCSP responses may be added after clearing

See also

AddSignProcessRevocationCRL, AddSignProcessRevocationOCSP