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

SignaturBeschreibung
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) → boolRuft EncryptFile(userPassword, ownerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolRuft EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) auf dieser PdfFileSecurity-Instanz auf.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRuft TryEncryptFile(userPassword, ownerPassword, privilege, keySize) auf dieser PdfFileSecurity-Instanz auf.
DecryptFile(ownerPassword: std::string) → boolRuft DecryptFile(ownerPassword) auf dieser PdfFileSecurity-Instanz auf.
TryDecryptFile(ownerPassword: std::string) → boolRuft TryDecryptFile(ownerPassword) auf dieser PdfFileSecurity-Instanz auf.
SetPrivilege(privilege: DocumentPrivilege) → boolSetzt den Berechtigungswert.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolSetzt den Berechtigungswert.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolRuft TrySetPrivilege(userPassword, ownerPassword, privilege) auf dieser PdfFileSecurity-Instanz auf.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolRuft ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) auf dieser PdfFileSecurity-Instanz auf.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRuft 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) → boolRuft ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) auf dieser PdfFileSecurity-Instanz auf.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolRuft TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) auf dieser PdfFileSecurity-Instanz auf.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRuft 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) → boolRuft 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() → boolRuft AllowExceptions auf dieser PdfFileSecurity-Instanz auf.
AllowExceptions(value: bool)Ruft AllowExceptions(value) auf dieser PdfFileSecurity-Instanz auf.

Siehe auch

 Deutsch