PdfFileSecurity

PdfFileSecurity

Áttekintés

PdfFileSecurity egy osztály a Aspose.PDF FOSS for C++-ban.

Ez az osztály 20 metódust biztosít a PdfFileSecurity objektumokkal való munkához C++ programokban. Elérhető metódusok: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile és még 1 további metódus. Minden nyilvános tag elérhető bármely C++ alkalmazás számára a Aspose.PDF FOSS for C++ csomag telepítése után.

Metódusok

AláírásLeírás
PdfFileSecurity()Meghívja a(z) PdfFileSecurity metódust ezen a PdfFileSecurity példányon.
BindPdf(srcFile: std::string)Meghívja a(z) BindPdf(srcFile) metódust ezen a PdfFileSecurity példányon.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMeghívja a(z) EncryptFile(userPassword, ownerPassword, privilege, keySize) metódust ezen a PdfFileSecurity példányon.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolMeghívja a(z) EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) metódust ezen a PdfFileSecurity példányon.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMeghívja a TryEncryptFile(userPassword, ownerPassword, privilege, keySize) metódust ezen a PdfFileSecurity példányon.
DecryptFile(ownerPassword: std::string) → boolMeghívja a DecryptFile(ownerPassword) metódust ezen a PdfFileSecurity példányon.
TryDecryptFile(ownerPassword: std::string) → boolMeghívja a TryDecryptFile(ownerPassword) metódust ezen a PdfFileSecurity példányon.
SetPrivilege(privilege: DocumentPrivilege) → boolBeállítja a jogosultság értékét.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolBeállítja a jogosultság értékét.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolMeghívja a(z) TrySetPrivilege(userPassword, ownerPassword, privilege) ezen a PdfFileSecurity példányon.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolMeghívja a(z) ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) ezen a PdfFileSecurity példányon.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMeghívja a(z) ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) ezen a PdfFileSecurity példányon.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolMeghívja a(z) ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) ezen a PdfFileSecurity példányon.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolMeghívja a(z) TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) metódust ezen a PdfFileSecurity példányon.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolMeghívja a(z) TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) metódust ezen a PdfFileSecurity példányon.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolMeghívja a(z) TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) metódust ezen a PdfFileSecurity példányon.
InputFile(value: std::string)Meghívja a(z) InputFile(value) metódust ezen a PdfFileSecurity példányon.
OutputFile(value: std::string)OutputFile(value) metódust hívja meg ezen a PdfFileSecurity példányon.
AllowExceptions() → boolAllowExceptions metódust hívja meg ezen a PdfFileSecurity példányon.
AllowExceptions(value: bool)AllowExceptions(value) metódust hívja meg ezen a PdfFileSecurity példányon.

Lásd még:

 Magyar