AddPublicKeyRecipientFromPFXA
安全與簽章
描述
AddPublicKeyRecipientFromPFX 的 ANSI 版本
字串參數接受 ANSI 文字,其餘行為與寬字元字串版本完全相同
語法
DLL
int DLAddPublicKeyRecipientFromPFXA(int InstanceID, const char* PFXFileName, const char* PFXPassword, int UseMachineKeyset, int Permissions);傳回值
| 1 | 收件者憑證已加入 |
|---|---|
| 0 | PFX、密碼、權限或文件狀態無效 |
備註
私密金鑰只在加入收件者時用來識別末端憑證,不會內嵌進 PDFDLL 也匯出
ANSI 字串請用 DLAddPublicKeyRecipientFromPFXA