PdfFileSecurity

PdfFileSecurity

Επισκόπηση

PdfFileSecurity είναι μια κλάση στο Aspose.PDF FOSS για C++.

Αυτή η κλάση παρέχει 20 μεθόδους για εργασία με αντικείμενα PdfFileSecurity σε προγράμματα C++. Οι διαθέσιμες μέθοδοι περιλαμβάνουν: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile, και 1 επιπλέον μέθοδο. Όλα τα δημόσια μέλη είναι προσβάσιμα από οποιαδήποτε εφαρμογή C++ μετά την εγκατάσταση του πακέτου Aspose.PDF FOSS για C++.

Μέθοδοι

ΥπογραφήΠεριγραφή
PdfFileSecurity()Καλεί το PdfFileSecurity σε αυτό το αντικείμενο PdfFileSecurity.
BindPdf(srcFile: std::string)Καλεί το BindPdf(srcFile) σε αυτό το αντικείμενο PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolΚαλεί το EncryptFile(userPassword, ownerPassword, privilege, keySize) σε αυτό το αντικείμενο PdfFileSecurity.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolΚαλεί το EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) σε αυτό το αντικείμενο PdfFileSecurity.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolΚαλεί TryEncryptFile(userPassword, ownerPassword, privilege, keySize) σε αυτήν την PdfFileSecurity παρουσία.
DecryptFile(ownerPassword: std::string) → boolΚαλεί DecryptFile(ownerPassword) σε αυτήν την PdfFileSecurity παρουσία.
TryDecryptFile(ownerPassword: std::string) → boolΚαλεί TryDecryptFile(ownerPassword) σε αυτήν την PdfFileSecurity παρουσία.
SetPrivilege(privilege: DocumentPrivilege) → boolΟρίζει την τιμή προνομίου.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolΟρίζει την τιμή του προνομίου.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolΚαλεί TrySetPrivilege(userPassword, ownerPassword, privilege) σε αυτό το PdfFileSecurity instance.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolΚαλεί ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) σε αυτό το PdfFileSecurity instance.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolΚαλεί ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) σε αυτό το PdfFileSecurity instance.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolΚαλεί ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) σε αυτό το PdfFileSecurity instance.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolΚαλεί TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) σε αυτό το αντικείμενο PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolΚαλεί TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) σε αυτό το αντικείμενο PdfFileSecurity.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolΚαλεί TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) σε αυτό το αντικείμενο PdfFileSecurity.
InputFile(value: std::string)Καλεί InputFile(value) σε αυτό το αντικείμενο PdfFileSecurity.
OutputFile(value: std::string)Καλεί το OutputFile(value) σε αυτό το αντικείμενο PdfFileSecurity.
AllowExceptions() → boolΚαλεί το AllowExceptions σε αυτό το αντικείμενο PdfFileSecurity.
AllowExceptions(value: bool)Καλεί το AllowExceptions(value) σε αυτό το αντικείμενο PdfFileSecurity.

Δείτε επίσης

 Ελληνικά