GetPubSecStatus
安全與簽章
描述
傳回所選文件最新的 Adobe.PubSec 收件者信封認證狀態
語法
Delphi
Function TPDFlib.GetPubSecStatus: Integer;
ActiveX
Function PDFlib::GetPubSecStatus() As Long
DLL
int DLGetPubSecStatus(int InstanceID);
傳回值
| 0 | 未嘗試公開金鑰驗證 |
|---|---|
| 1 | A recipient envelope was authenticated |
| 2 | 需要解密憑證 |
| 3 | 提供的憑證無效 |
| 4 | 找不到相符的收件者 |
| 5 | CMS 信封格式錯誤 |
| 6 | 相符的信封在 seed 或權限上不一致 |
| 7 | 安全性處理器或加密演算法不受支援 |
備註
載入失敗也會透過 LastErrorCode 值 419 到 423 回報