PdfFileSecurity

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 TanganDeskripsi
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) → boolMemanggil EncryptFile(userPassword, ownerPassword, privilege, keySize) pada instance PdfFileSecurity ini.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolMemanggil EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) pada instance PdfFileSecurity ini.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMemanggil TryEncryptFile(userPassword, ownerPassword, privilege, keySize) pada instance PdfFileSecurity ini.
DecryptFile(ownerPassword: std::string) → boolMemanggil DecryptFile(ownerPassword) pada instance PdfFileSecurity ini.
TryDecryptFile(ownerPassword: std::string) → boolMemanggil TryDecryptFile(ownerPassword) pada instance PdfFileSecurity ini.
SetPrivilege(privilege: DocumentPrivilege) → boolMengatur nilai hak istimewa.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolMengatur nilai hak istimewa.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolMemanggil TrySetPrivilege(userPassword, ownerPassword, privilege) pada instance PdfFileSecurity ini.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolMemanggil ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pada instance PdfFileSecurity ini.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMemanggil 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) → boolMemanggil ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) pada instance PdfFileSecurity ini.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolMemanggil TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pada instance PdfFileSecurity ini.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMemanggil 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) → boolMemanggil 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() → boolMemanggil AllowExceptions pada instance PdfFileSecurity ini.
AllowExceptions(value: bool)Memanggil AllowExceptions(value) pada instance PdfFileSecurity ini.

Lihat Juga

 Bahasa Indonesia