PdfFileSecurity

PdfFileSecurity

Prezentare generală

PdfFileSecurity este o clasă în Aspose.PDF FOSS pentru C++.

Această clasă oferă 20 de metode pentru lucrul cu obiecte PdfFileSecurity în programe C++. Metodele disponibile includ: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile și 1 metodă suplimentară. Toți membrii publici sunt accesibili oricărei aplicații C++ după instalarea pachetului Aspose.PDF FOSS pentru C++.

Metode

SemnăturăDescriere:
PdfFileSecurity()Apelează PdfFileSecurity pe această instanță PdfFileSecurity.
BindPdf(srcFile: std::string)Apelează BindPdf(srcFile) pe această instanță PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolApelează EncryptFile(userPassword, ownerPassword, privilege, keySize) pe această instanță PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolApelează EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) pe această instanță PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolApelează TryEncryptFile(userPassword, ownerPassword, privilege, keySize) pe această instanță PdfFileSecurity.
DecryptFile(ownerPassword: std::string) → boolApelează DecryptFile(ownerPassword) pe această instanță PdfFileSecurity.
TryDecryptFile(ownerPassword: std::string) → boolApelează TryDecryptFile(ownerPassword) pe această instanță PdfFileSecurity.
SetPrivilege(privilege: DocumentPrivilege) → boolSetează valoarea privilegiului.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolSetează valoarea privilegiului.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolApelează TrySetPrivilege(userPassword, ownerPassword, privilege) pe această instanță PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolApelează ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pe această instanță PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolApelează ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) pe această instanță PdfFileSecurity.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolApelează ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) pe această instanță PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolApelează TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) pe această instanță PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolApelează TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) pe această instanță PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolApelează TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) pe această instanță PdfFileSecurity.
InputFile(value: std::string)Apelează InputFile(value) pe această instanță PdfFileSecurity.
OutputFile(value: std::string)Apelează OutputFile(value) pe această instanță PdfFileSecurity.
AllowExceptions() → boolApelează AllowExceptions pe această instanță PdfFileSecurity.
AllowExceptions(value: bool)Apelează AllowExceptions(value) pe această instanță PdfFileSecurity.

Vezi și:

 Română