PdfFileSecurity

PdfFileSecurity

Vue d’ensemble

PdfFileSecurity est une classe dans Aspose.PDF FOSS pour C++.

Cette classe fournit 20 méthodes pour travailler avec les objets PdfFileSecurity dans les programmes C++. Les méthodes disponibles comprennent: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile et 1 méthode supplémentaire. Tous les membres publics sont accessibles à toute application C++ après l’installation du paquet Aspose.PDF FOSS pour C++.

Méthodes

SignatureDescription
PdfFileSecurity()Appelle PdfFileSecurity sur cette instance PdfFileSecurity.
BindPdf(srcFile: std::string)Appelle BindPdf(srcFile) sur cette instance PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAppelle EncryptFile(userPassword, ownerPassword, privilege, keySize) sur cette instance PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAppelle EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) sur cette instance PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAppelle TryEncryptFile(userPassword, ownerPassword, privilege, keySize) sur cette instance PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolAppelle DecryptFile(ownerPassword) sur cette instance PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolAppelle TryDecryptFile(ownerPassword) sur cette instance PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolDéfinit la valeur du privilège.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolDéfinit la valeur du privilège.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolAppelle TrySetPrivilege(userPassword, ownerPassword, privilege) sur cette instance PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolAppelle ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) sur cette instance PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAppelle ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) sur cette instance PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAppelle ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) sur cette instance PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolAppelle TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) sur cette instance PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolAppelle TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) sur cette instance PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolAppelle TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) sur cette instance PdfFileSecurity.
InputFile(value: std::string)Appelle InputFile(value) sur cette instance PdfFileSecurity.
OutputFile(value: std::string)Appelle OutputFile(value) sur cette instance PdfFileSecurity.
AllowExceptions() → boolAppelle AllowExceptions sur cette instance PdfFileSecurity.
AllowExceptions(value: bool)Appelle AllowExceptions(value) sur cette instance PdfFileSecurity.

Voir aussi

 Français