PdfFileSecurity

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

FirmaDescrizione
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) → boolChiama EncryptFile(userPassword, ownerPassword, privilege, keySize) su questa istanza di PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolChiama EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) su questa istanza di PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChiama TryEncryptFile(userPassword, ownerPassword, privilege, keySize) su questa istanza di PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolChiama DecryptFile(ownerPassword) su questa istanza di PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolChiama TryDecryptFile(ownerPassword) su questa istanza di PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolImposta il valore del privilegio.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolImposta il valore del privilegio.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolChiama TrySetPrivilege(userPassword, ownerPassword, privilege) su questa istanza di PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolChiama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) su questa istanza di PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChiama 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) → boolChiama ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) su questa istanza di PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolChiama TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) su questa istanza di PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolChiama 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) → boolChiama 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() → boolChiama AllowExceptions su questa istanza di PdfFileSecurity.
AllowExceptions(value: bool)Chiama AllowExceptions(value) su questa istanza di PdfFileSecurity.

Vedi anche

 Italiano