PdfFileSecurity

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

HandtekeningBeschrijving
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) → boolRoept EncryptFile(userPassword, ownerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolRoept EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) aan op deze PdfFileSecurity instantie.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRoept TryEncryptFile(userPassword, ownerPassword, privilege, keySize) aan op deze PdfFileSecurity instantie.
DecryptFile(ownerPassword: std::string) → boolRoept DecryptFile(ownerPassword) aan op deze PdfFileSecurity instantie.
TryDecryptFile(ownerPassword: std::string) → boolRoept TryDecryptFile(ownerPassword) aan op deze PdfFileSecurity instantie.
SetPrivilege(privilege: DocumentPrivilege) → boolStelt de privilegewaarde in.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolStelt de privilege-waarde in.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolRoept TrySetPrivilege(userPassword, ownerPassword, privilege) aan op deze PdfFileSecurity instantie.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolRoept ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) aan op deze PdfFileSecurity instantie.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRoept 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) → boolRoept ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) aan op deze PdfFileSecurity instantie.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolRoept TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) aan op deze PdfFileSecurity instantie.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolRoept 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) → boolRoept 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() → boolRoept AllowExceptions aan op deze PdfFileSecurity instantie.
AllowExceptions(value: bool)Roept AllowExceptions(value) aan op deze PdfFileSecurity instantie.

Zie ook

 Nederlands