PdfFileSecurity
Gambaran Umum
PdfFileSecurity adalah kelas dalam Aspose.PDF FOSS untuk C++.
Kelas ini menyediakan 20 metode untuk bekerja dengan objek PdfFileSecurity dalam program C++. Metode yang tersedia meliputi: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile, dan 1 metode tambahan. Semua anggota publik dapat diakses oleh aplikasi C++ mana pun setelah menginstal paket Aspose.PDF FOSS untuk C++.
Metode
| Tanda Tangan | Deskripsi |
|---|---|
PdfFileSecurity() | Memanggil PdfFileSecurity pada instance PdfFileSecurity ini. |
BindPdf(srcFile: std::string) | Memanggil BindPdf(srcFile) pada instance PdfFileSecurity ini. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Memanggil EncryptFile(userPassword, ownerPassword, privilege, keySize) pada instance PdfFileSecurity ini. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Memanggil EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) pada instance PdfFileSecurity ini. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Memanggil TryEncryptFile(userPassword, ownerPassword, privilege, keySize) pada instance PdfFileSecurity ini. |
DecryptFile(ownerPassword: std::string) → bool | Memanggil DecryptFile(ownerPassword) pada instance PdfFileSecurity ini. |
TryDecryptFile(ownerPassword: std::string) → bool | Memanggil TryDecryptFile(ownerPassword) pada instance PdfFileSecurity ini. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Mengatur nilai hak istimewa. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Mengatur nilai hak istimewa. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Memanggil TrySetPrivilege(userPassword, ownerPassword, privilege) pada instance PdfFileSecurity ini. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Memanggil ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pada instance PdfFileSecurity ini. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Memanggil ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) pada instance PdfFileSecurity ini. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Memanggil ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) pada instance PdfFileSecurity ini. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Memanggil TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pada instance PdfFileSecurity ini. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Memanggil TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) pada instance PdfFileSecurity ini. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Memanggil TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) pada instance PdfFileSecurity ini. |
InputFile(value: std::string) | Memanggil InputFile(value) pada instance PdfFileSecurity ini. |
OutputFile(value: std::string) | Memanggil OutputFile(value) pada instance PdfFileSecurity ini. |
AllowExceptions() → bool | Memanggil AllowExceptions pada instance PdfFileSecurity ini. |
AllowExceptions(value: bool) | Memanggil AllowExceptions(value) pada instance PdfFileSecurity ini. |