PdfFileSecurity
Visión general
PdfFileSecurity es una clase en Aspose.PDF FOSS para C++.
Esta clase proporciona 20 métodos para trabajar con objetos PdfFileSecurity en programas C++. Los métodos disponibles incluyen: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile y 1 método adicional. Todos los miembros públicos son accesibles para cualquier aplicación C++ después de instalar el paquete Aspose.PDF FOSS para C++.
Métodos
| Firma | Descripción |
|---|---|
PdfFileSecurity() | Llama a PdfFileSecurity en esta instancia de PdfFileSecurity. |
BindPdf(srcFile: std::string) | Llama a BindPdf(srcFile) en esta instancia de PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Llama a EncryptFile(userPassword, ownerPassword, privilege, keySize) en esta instancia de PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Llama a EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) en esta instancia de PdfFileSecurity. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Llama a TryEncryptFile(userPassword, ownerPassword, privilege, keySize) en esta instancia de PdfFileSecurity. |
DecryptFile(ownerPassword: std::string) → bool | Llama a DecryptFile(ownerPassword) en esta instancia de PdfFileSecurity. |
TryDecryptFile(ownerPassword: std::string) → bool | Llama a TryDecryptFile(ownerPassword) en esta instancia de PdfFileSecurity. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Establece el valor del privilegio. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Establece el valor del privilegio. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Llama a TrySetPrivilege(userPassword, ownerPassword, privilege) en esta instancia de PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Llama a ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) en esta instancia de PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Llama a ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) en esta instancia de PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Llama a ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) en esta instancia de PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Llama a TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) en esta instancia de PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Llama a TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) en esta instancia de PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Llama a TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) en esta instancia de PdfFileSecurity. |
InputFile(value: std::string) | Llama a InputFile(value) en esta instancia de PdfFileSecurity. |
OutputFile(value: std::string) | Llama a OutputFile(value) en esta instancia de PdfFileSecurity. |
AllowExceptions() → bool | Llama a AllowExceptions en esta instancia de PdfFileSecurity. |
AllowExceptions(value: bool) | Llama a AllowExceptions(value) en esta instancia de PdfFileSecurity. |