SetEncryptedPayloadFromFileA
Security and encryption
תיאור
ANSI variant of SetEncryptedPayloadFromFileAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point
תחביר
DLL
int DLSetEncryptedPayloadFromFileA(int InstanceID, const char* FileName, const char* Subtype, const char* PayloadVersion);ערכי החזרה
| 1 | The payload was added |
|---|---|
| 0 | הקובץ, המטא-נתונים, המסמך שנבחר או מצב ה-wrapper לא היו חוקיים |
הערות
ה-wrapper משתמש ב-/EncryptedPayload, /AF, /EmbeddedFiles של PDF 2.0 וב-collection נסתר שהמסמך הראשוני שלו הוא ה-payloadהמסמך החיצוני חייב להישאר לא מוצפן ואינו יכול להפעיל PDF MAC; מותר payload מוצפן אחד בלבד
ראו גם
SetEncryptedPayloadFromString, SetEncryptedPayloadFromVariant, IsUnencryptedWrapper