SetEncryptedPayloadFromStringA

Security and encryption

תיאור

ANSI variant of SetEncryptedPayloadFromStringAccepts string parameters as ANSI text and otherwise behaves identically to the wide-string entry point

תחביר

DLL

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

ערכי החזרה

1The payload was added
0The input or wrapper state was invalid

הערות

הפונקציה שומרת בייטים בלי לפענח או לשכתב את ה-payload ומעלה אוטומטית את מסמך ה-outer אל PDF 2.0

ראה גם

SetEncryptedPayloadFromFile, GetEncryptedPayloadContentToString