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ás | Leí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) → bool | Meghí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) → bool | Meghí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) → bool | Meghívja a TryEncryptFile(userPassword, ownerPassword, privilege, keySize) metódust ezen a PdfFileSecurity példányon. |
DecryptFile(ownerPassword: std::string) → bool | Meghívja a DecryptFile(ownerPassword) metódust ezen a PdfFileSecurity példányon. |
TryDecryptFile(ownerPassword: std::string) → bool | Meghívja a TryDecryptFile(ownerPassword) metódust ezen a PdfFileSecurity példányon. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Beállítja a jogosultság értékét. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Beállítja a jogosultság értékét. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Meghívja a(z) TrySetPrivilege(userPassword, ownerPassword, privilege) ezen a PdfFileSecurity példányon. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Meghí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) → bool | Meghí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) → bool | Meghí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) → bool | Meghí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) → bool | Meghí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) → bool | Meghí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() → bool | AllowExceptions 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. |