GetPubSecStatus

安全與簽章

描述

傳回所選文件最新的 Adobe.PubSec 收件者信封認證狀態

語法

Delphi

Function TPDFlib.GetPubSecStatus: Integer;

ActiveX

Function PDFlib::GetPubSecStatus() As Long

DLL

int DLGetPubSecStatus(int InstanceID);

傳回值

0未嘗試公開金鑰驗證
1A recipient envelope was authenticated
2需要解密憑證
3提供的憑證無效
4找不到相符的收件者
5CMS 信封格式錯誤
6相符的信封在 seed 或權限上不一致
7安全性處理器或加密演算法不受支援

備註

載入失敗也會透過 LastErrorCode 值 419 到 423 回報

另請參閱

SetPublicKeyDecryptionPFX, SetPublicKeyDecryptionStore