PdfFileSecurity
نظرة عامة
PdfFileSecurity هي فئة في Aspose.PDF FOSS لـ C++.
توفر هذه الفئة 20 طريقة للعمل مع كائنات PdfFileSecurity في برامج C++. الطرق المتاحة تشمل: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile, و 1 طريقة إضافية. جميع الأعضاء العامة متاحة لأي تطبيق 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. |