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 | process id 無效 |
備註
簽署程序仍可使用,清除後仍可加入新的 CRL 或 OCSP 回應