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
| Signature | Description |
|---|---|
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) → bool | Appelle EncryptFile(userPassword, ownerPassword, privilege, keySize) sur cette instance PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Appelle EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) sur cette instance PdfFileSecurity. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Appelle TryEncryptFile(userPassword, ownerPassword, privilege, keySize) sur cette instance PdfFileSecurity. |
DecryptFile(ownerPassword: std::string) → bool | Appelle DecryptFile(ownerPassword) sur cette instance PdfFileSecurity. |
TryDecryptFile(ownerPassword: std::string) → bool | Appelle TryDecryptFile(ownerPassword) sur cette instance PdfFileSecurity. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Définit la valeur du privilège. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Définit la valeur du privilège. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Appelle TrySetPrivilege(userPassword, ownerPassword, privilege) sur cette instance PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Appelle ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) sur cette instance PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Appelle 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) → bool | Appelle ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) sur cette instance PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Appelle TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) sur cette instance PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Appelle 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) → bool | Appelle 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() → bool | Appelle AllowExceptions sur cette instance PdfFileSecurity. |
AllowExceptions(value: bool) | Appelle AllowExceptions(value) sur cette instance PdfFileSecurity. |