SetEncryptedPayloadFromStringA

安全和加密

描述

SetEncryptedPayloadFromString 的 ANSI 变体

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

语法

DLL

int DLSetEncryptedPayloadFromStringA(int InstanceID, const char* FileBytes, int FileLength, const char* Subtype, const char* PayloadVersion);

返回值

1已添加有效负载
0输入或包装器状态无效

备注

函数在不解密或重写有效负载的情况下存储字节,并自动将外层文档提升到 PDF 2.0

另请参阅

SetEncryptedPayloadFromFile, GetEncryptedPayloadContentToString