PdfFileSecurity

PdfFileSecurity

סקירה כללית

PdfFileSecurity היא מחלקה ב Aspose.PDF FOSS עבור C++.

מחלקה זו מספקת 20 שיטות לעבודה עם עצמים מסוג PdfFileSecurity בתוכניות C++. השיטות הזמינות כוללות: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile, ו-שיטה נוספת אחת. כל החברים הציבוריים נגישים לכל יישום C++ לאחר התקנת חבילת Aspose.PDF FOSS עבור C++.

שיטות

חתימהתיאור
PdfFileSecurity()קורא ל-PdfFileSecurity על מופע PdfFileSecurity זה.
BindPdf(srcFile: std::string)קורא ל-BindPdf(srcFile) על מופע PdfFileSecurity זה.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolקורא ל-EncryptFile(userPassword, ownerPassword, privilege, keySize) על מופע PdfFileSecurity זה.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolקורא ל-EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) על מופע PdfFileSecurity זה.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolקורא ל-TryEncryptFile(userPassword, ownerPassword, privilege, keySize) על מופע PdfFileSecurity זה.
DecryptFile(ownerPassword: std::string) → boolקורא ל-DecryptFile(ownerPassword) על מופע PdfFileSecurity זה.
TryDecryptFile(ownerPassword: std::string) → boolקורא ל-TryDecryptFile(ownerPassword) על מופע PdfFileSecurity זה.
SetPrivilege(privilege: DocumentPrivilege) → boolמגדיר את ערך ההרשאה.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolמגדיר את ערך ההרשאה.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolקורא ל-TrySetPrivilege(userPassword, ownerPassword, privilege) על המופע PdfFileSecurity הזה.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolקורא ל-ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) על המופע PdfFileSecurity הזה.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolקורא ל-ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) על המופע PdfFileSecurity הזה.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolקורא ל-ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) על המופע PdfFileSecurity הזה.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolקורא ל-TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) על המופע PdfFileSecurity הזה.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolקורא ל-TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) על המופע PdfFileSecurity הזה.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolקורא ל-TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) על המופע PdfFileSecurity הזה.
InputFile(value: std::string)קורא ל-InputFile(value) על המופע PdfFileSecurity הזה.
OutputFile(value: std::string)קורא ל-OutputFile(value) על המופע PdfFileSecurity הזה.
AllowExceptions() → boolקורא ל-AllowExceptions על המופע PdfFileSecurity הזה.
AllowExceptions(value: bool)קורא ל-AllowExceptions(value) על המופע PdfFileSecurity הזה.

ראה גם

 עברית