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 הזה. |