PdfFileSecurity
PdfFileSecurity
Übersicht
PdfFileSecurity ist eine Klasse in Aspose.PDF FOSS für C++.
Diese Klasse stellt 20 Methoden zur Arbeit mit PdfFileSecurity-Objekten in C++-Programmen bereit. Verfügbare Methoden umfassen: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile und 1 weitere Methode. Alle öffentlichen Mitglieder sind für jede C++-Anwendung zugänglich, nachdem das Aspose.PDF FOSS für C++-Paket installiert wurde.
Methoden
| Signatur | Beschreibung |
|---|---|
PdfFileSecurity() | Ruft PdfFileSecurity auf dieser PdfFileSecurity-Instanz auf. |
BindPdf(srcFile: std::string) | Ruft BindPdf(srcFile) auf dieser PdfFileSecurity-Instanz auf. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Ruft EncryptFile(userPassword, ownerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Ruft EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) auf dieser PdfFileSecurity-Instanz auf. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Ruft TryEncryptFile(userPassword, ownerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf. |
DecryptFile(ownerPassword: std::string) → bool | Ruft DecryptFile(ownerPassword) auf dieser PdfFileSecurity-Instanz auf. |
TryDecryptFile(ownerPassword: std::string) → bool | Ruft TryDecryptFile(ownerPassword) auf dieser PdfFileSecurity-Instanz auf. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Setzt den Berechtigungswert. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Setzt den Berechtigungswert. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Ruft TrySetPrivilege(userPassword, ownerPassword, privilege) auf dieser PdfFileSecurity-Instanz auf. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Ruft ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) auf dieser PdfFileSecurity-Instanz auf. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Ruft ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Ruft ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) auf dieser PdfFileSecurity-Instanz auf. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Ruft TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) auf dieser PdfFileSecurity-Instanz auf. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Ruft TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Ruft TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) auf dieser PdfFileSecurity-Instanz auf. |
InputFile(value: std::string) | Ruft InputFile(value) auf dieser PdfFileSecurity-Instanz auf. |
OutputFile(value: std::string) | Ruft OutputFile(value) auf dieser PdfFileSecurity-Instanz auf. |
AllowExceptions() → bool | Ruft AllowExceptions auf dieser PdfFileSecurity-Instanz auf. |
AllowExceptions(value: bool) | Ruft AllowExceptions(value) auf dieser PdfFileSecurity-Instanz auf. |