PdfFileSecurity

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

FirmaDescripció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) → boolLlama a EncryptFile(userPassword, ownerPassword, privilege, keySize) en esta instancia de PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolLlama a EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) en esta instancia de PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolLlama a TryEncryptFile(userPassword, ownerPassword, privilege, keySize) en esta instancia de PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolLlama a DecryptFile(ownerPassword) en esta instancia de PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolLlama a TryDecryptFile(ownerPassword) en esta instancia de PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolEstablece el valor del privilegio.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolEstablece el valor del privilegio.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolLlama a TrySetPrivilege(userPassword, ownerPassword, privilege) en esta instancia de PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolLlama a ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) en esta instancia de PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolLlama 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) → boolLlama a ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) en esta instancia de PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolLlama a TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) en esta instancia de PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolLlama 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) → boolLlama 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() → boolLlama a AllowExceptions en esta instancia de PdfFileSecurity.
AllowExceptions(value: bool)Llama a AllowExceptions(value) en esta instancia de PdfFileSecurity.

Ver también

 Español