ClearSignProcessRevocationInfo

安全和签名

需要 Enterprise 版。在 Delphi、C++Builder 和 Lazarus 代码中,请将库创建为 TPDFlibEnterprise(单元 PDFlibEnterprise);Enterprise 版的 DLL 和 ActiveX 构建原样提供该类。其他版本保留此方法,它返回 0、空字符串或 False,并将 LastErrorCode 设置为 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

描述

移除为 adbe-revocationInfoArchival 已签名属性配置的所有 CRL 和 OCSP 响应

语法

Delphi

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

ActiveX

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

DLL

int DLClearSignProcessRevocationInfo(int InstanceID, int SignProcessID);

参数

SignProcessID由 NewSignProcessFrom* 函数返回的值

返回值

1该过程存在,且其撤销材料已被清除
0过程 ID 无效

备注

清除后签名过程仍可使用,并且可以添加新的 CRL 或 OCSP 响应

另请参阅

AddSignProcessRevocationCRL, AddSignProcessRevocationOCSP