PdfFileSecurity
Přehled
PdfFileSecurity je třída v Aspose.PDF FOSS pro C++.
Tato třída poskytuje 20 metod pro práci s objekty PdfFileSecurity v C++ programech. Dostupné metody zahrnují: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile a 1 další metodu. Všechny veřejné členy jsou přístupné jakékoli C++ aplikaci po instalaci balíčku Aspose.PDF FOSS pro C++.
Metody
| Podpis: | Popis: |
|---|---|
PdfFileSecurity() | Volá PdfFileSecurity na této instanci PdfFileSecurity. |
BindPdf(srcFile: std::string) | Volá BindPdf(srcFile) na této instanci PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Volá EncryptFile(userPassword, ownerPassword, privilege, keySize) na této instanci PdfFileSecurity. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Volá EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Volá TryEncryptFile(userPassword, ownerPassword, privilege, keySize) na této instanci PdfFileSecurity. |
DecryptFile(ownerPassword: std::string) → bool | Volá DecryptFile(ownerPassword) na této instanci PdfFileSecurity. |
TryDecryptFile(ownerPassword: std::string) → bool | Volá TryDecryptFile(ownerPassword) na této instanci PdfFileSecurity. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Nastavuje hodnotu oprávnění. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Nastaví hodnotu oprávnění. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Volá TrySetPrivilege(userPassword, ownerPassword, privilege) na této instanci PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Volá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na této instanci PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Volá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na této instanci PdfFileSecurity. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Volá ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Volá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) na této instanci PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Volá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) na této instanci PdfFileSecurity. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Volá TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) na této instanci PdfFileSecurity. |
InputFile(value: std::string) | Volá InputFile(value) na této instanci PdfFileSecurity. |
OutputFile(value: std::string) | Volá OutputFile(value) na této instanci PdfFileSecurity. |
AllowExceptions() → bool | Volá AllowExceptions na této instanci PdfFileSecurity. |
AllowExceptions(value: bool) | Volá AllowExceptions(value) na této instanci PdfFileSecurity. |