PdfFileSecurity

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.

انظر أيضاً

 العربية