PdfFileSecurity

PdfFileSecurity

Visão geral

PdfFileSecurity é uma classe em Aspose.PDF FOSS para C++.

Esta classe fornece 20 métodos para trabalhar com objetos PdfFileSecurity em programas C++. Os métodos disponíveis incluem: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile e 1 método adicional. Todos os membros públicos estão acessíveis a qualquer aplicação C++ após a instalação do pacote Aspose.PDF FOSS para C++.

Métodos

AssinaturaDescrição
PdfFileSecurity()Chama PdfFileSecurity nesta instância de PdfFileSecurity.
BindPdf(srcFile: std::string)Chama BindPdf(srcFile) nesta instância de PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChama EncryptFile(userPassword, ownerPassword, privilege, keySize) nesta instância de PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolChama EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) nesta instância de PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChama TryEncryptFile(userPassword, ownerPassword, privilege, keySize) nesta instância de PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolChama DecryptFile(ownerPassword) nesta instância de PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolChama TryDecryptFile(ownerPassword) nesta instância de PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolDefine o valor do privilégio.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolDefine o valor do privilégio.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolChama TrySetPrivilege(userPassword, ownerPassword, privilege) nesta instância PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolChama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) nesta instância PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) nesta instância PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolChama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) nesta instância PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolChama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) nesta instância de PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) nesta instância de PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolChama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) nesta instância de PdfFileSecurity.
InputFile(value: std::string)Chama InputFile(value) nesta instância de PdfFileSecurity.
OutputFile(value: std::string)Chama OutputFile(value) nesta instância de PdfFileSecurity.
AllowExceptions() → boolChama AllowExceptions nesta instância de PdfFileSecurity.
AllowExceptions(value: bool)Chama AllowExceptions(value) nesta instância de PdfFileSecurity.

Ver também

 Português