SetPublicKeyDecryptionPFXA

安全和签名

描述

适用于 SetPublicKeyDecryptionPFX 的 ANSI 变体

字符串参数按 ANSI 文本接受,其余行为与宽字符串入口点完全相同

语法

DLL

int DLSetPublicKeyDecryptionPFXA(int InstanceID, const char* PFXFileName, const char* PFXPassword, int UseMachineKeyset);

返回值

1凭据已通过验证并保留
0PFX 或密码无效,且 LastErrorCode 返回 420

备注

该凭据会在文档加载之间保持有效,直至被替换或清除

DLL 还会导出用于 ANSI 字符串的 DLSetPublicKeyDecryptionPFXA

另请参阅

SetPublicKeyDecryptionStore、ClearPublicKeyDecryptionCredential、GetPubSecStatus