SetEncryptedPayloadFromStringA
安全性與加密
描述
SetEncryptedPayloadFromString 的 ANSI 版本
字串參數接受 ANSI 文字,其餘行為與寬字元字串版本完全相同
語法
DLL
int DLSetEncryptedPayloadFromStringA(int InstanceID, const char* FileBytes, int FileLength, const char* Subtype, const char* PayloadVersion);傳回值
| 1 | The payload was added |
|---|---|
| 0 | 輸入或包裝狀態無效 |
備註
函式直接儲存位元組,不解密也不改寫酬載,並自動把外層文件提升到 PDF 2.0
另請參閱
SetEncryptedPayloadFromFile, GetEncryptedPayloadContentToString