PdfFileSecurity
Overzicht
PdfFileSecurity is een klasse in Aspose.PDF FOSS voor C++.
Deze klasse biedt 20 methoden om te werken met PdfFileSecurity objecten in C++-programma’s. Beschikbare methoden omvatten: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile en 1 extra methode. Alle publieke leden zijn toegankelijk voor elke C++-applicatie na het installeren van het Aspose.PDF FOSS voor C++-pakket.
Methoden
| Handtekening | Beschrijving |
|---|---|
PdfFileSecurity() | Roept PdfFileSecurity aan op deze PdfFileSecurity instantie. |
BindPdf(srcFile: std::string) | Roept BindPdf(srcFile) aan op deze PdfFileSecurity instantie. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Roept EncryptFile(userPassword, ownerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie. |
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Roept EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) aan op deze PdfFileSecurity instantie. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Roept TryEncryptFile(userPassword, ownerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie. |
DecryptFile(ownerPassword: std::string) → bool | Roept DecryptFile(ownerPassword) aan op deze PdfFileSecurity instantie. |
TryDecryptFile(ownerPassword: std::string) → bool | Roept TryDecryptFile(ownerPassword) aan op deze PdfFileSecurity instantie. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Stelt de privilegewaarde in. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Stelt de privilege-waarde in. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Roept TrySetPrivilege(userPassword, ownerPassword, privilege) aan op deze PdfFileSecurity instantie. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Roept ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) aan op deze PdfFileSecurity instantie. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Roept ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Roept ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) aan op deze PdfFileSecurity instantie. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Roept TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) aan op deze PdfFileSecurity instantie. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Roept TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → bool | Roept TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) aan op deze PdfFileSecurity instantie. |
InputFile(value: std::string) | Roept InputFile(value) aan op deze PdfFileSecurity instantie. |
OutputFile(value: std::string) | Roept OutputFile(value) aan op deze PdfFileSecurity instantie. |
AllowExceptions() → bool | Roept AllowExceptions aan op deze PdfFileSecurity instantie. |
AllowExceptions(value: bool) | Roept AllowExceptions(value) aan op deze PdfFileSecurity instantie. |