PdfFileSecurity
Panoramica
PdfFileSecurity è una classe in Aspose.PDF FOSS per C++.
Questa classe fornisce 20 metodi per lavorare con oggetti PdfFileSecurity nei programmi C++. I metodi disponibili includono: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile e 1 ulteriore metodo. Tutti i membri pubblici sono accessibili da qualsiasi applicazione C++ dopo l’installazione del pacchetto Aspose.PDF FOSS per C++.
Metodi
| Firma | Descrizione |
|---|---|
PdfFileSecurity() | Chiama PdfFileSecurity su questa istanza di PdfFileSecurity. |
BindPdf(srcFile: std::string) | Chiama BindPdf(srcFile) su questa istanza di PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chiama EncryptFile(userPassword, ownerPassword, privilege, keySize) su questa istanza di PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Chiama EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) su questa istanza di PdfFileSecurity. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chiama TryEncryptFile(userPassword, ownerPassword, privilege, keySize) su questa istanza di PdfFileSecurity. |
DecryptFile(ownerPassword: std::string) → bool | Chiama DecryptFile(ownerPassword) su questa istanza di PdfFileSecurity. |
TryDecryptFile(ownerPassword: std::string) → bool | Chiama TryDecryptFile(ownerPassword) su questa istanza di PdfFileSecurity. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Imposta il valore del privilegio. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Imposta il valore del privilegio. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Chiama TrySetPrivilege(userPassword, ownerPassword, privilege) su questa istanza di PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Chiama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) su questa istanza di PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chiama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) su questa istanza di PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Chiama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) su questa istanza di PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Chiama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) su questa istanza di PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Chiama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) su questa istanza di PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Chiama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) su questa istanza di PdfFileSecurity. |
InputFile(value: std::string) | Chiama InputFile(value) su questa istanza di PdfFileSecurity. |
OutputFile(value: std::string) | Chiama OutputFile(value) su questa istanza di PdfFileSecurity. |
AllowExceptions() → bool | Chiama AllowExceptions su questa istanza di PdfFileSecurity. |
AllowExceptions(value: bool) | Chiama AllowExceptions(value) su questa istanza di PdfFileSecurity. |