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
| Assinatura | Descriçã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) → bool | Chama EncryptFile(userPassword, ownerPassword, privilege, keySize) nesta instância de PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Chama EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) nesta instância de PdfFileSecurity. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chama TryEncryptFile(userPassword, ownerPassword, privilege, keySize) nesta instância de PdfFileSecurity. |
DecryptFile(ownerPassword: std::string) → bool | Chama DecryptFile(ownerPassword) nesta instância de PdfFileSecurity. |
TryDecryptFile(ownerPassword: std::string) → bool | Chama TryDecryptFile(ownerPassword) nesta instância de PdfFileSecurity. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Define o valor do privilégio. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Define o valor do privilégio. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Chama TrySetPrivilege(userPassword, ownerPassword, privilege) nesta instância PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Chama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) nesta instância PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chama 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) → bool | Chama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) nesta instância PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Chama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) nesta instância de PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chama 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) → bool | Chama 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() → bool | Chama AllowExceptions nesta instância de PdfFileSecurity. |
AllowExceptions(value: bool) | Chama AllowExceptions(value) nesta instância de PdfFileSecurity. |