PdfFileSecurity

PdfFileSecurity

Genel Bakış

PdfFileSecurity, C++ için Aspose.PDF FOSS içinde bir sınıftır.

Bu sınıf, C++ programlarında PdfFileSecurity nesneleriyle çalışmak için 20 yöntem sağlar. Mevcut yöntemler şunlardır: AllowExceptions, BindPdf, ChangePassword, DecryptFile, EncryptFile, InputFile, OutputFile, PdfFileSecurity, SetPrivilege, TryChangePassword, TryDecryptFile, TryEncryptFile ve 1 ek yöntem. Tüm public üyeler, Aspose.PDF FOSS for C++ paketini kurduktan sonra herhangi bir C++ uygulaması tarafından erişilebilir.

Yöntemler

İmzaAçıklama
PdfFileSecurity()Bu PdfFileSecurity örneğinde PdfFileSecurity çağrılır.
BindPdf(srcFile: std::string)Bu PdfFileSecurity örneğinde BindPdf(srcFile) çağrılır.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolBu PdfFileSecurity örneğinde EncryptFile(userPassword, ownerPassword, privilege, keySize) çağrılır.
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolBu PdfFileSecurity örneğinde EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) çağrılır.
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolBu PdfFileSecurity örneğinde TryEncryptFile(userPassword, ownerPassword, privilege, keySize) çağırır.
DecryptFile(ownerPassword: std::string) → boolBu PdfFileSecurity örneğinde DecryptFile(ownerPassword) çağırır.
TryDecryptFile(ownerPassword: std::string) → boolBu PdfFileSecurity örneğinde TryDecryptFile(ownerPassword) çağırır.
SetPrivilege(privilege: DocumentPrivilege) → boolAyrıcalık değerini ayarlar.
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolYetki değerini ayarlar.
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolBu PdfFileSecurity örneğinde TrySetPrivilege(userPassword, ownerPassword, privilege) çağrılır.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolBu PdfFileSecurity örneğinde ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) çağrılır.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolBu PdfFileSecurity örneğinde ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) çağrılır.
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolBu PdfFileSecurity örneğinde ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) çağrılır.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolBu PdfFileSecurity örneğinde TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) çağırır.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolBu PdfFileSecurity örneğinde TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) çağırır.
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolBu PdfFileSecurity örneğinde TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) çağırır.
InputFile(value: std::string)Bu PdfFileSecurity örneğinde InputFile(value) çağırır.
OutputFile(value: std::string)Bu PdfFileSecurity örneğinde OutputFile(value) çağırır.
AllowExceptions() → boolBu PdfFileSecurity örneğinde AllowExceptions çağırır.
AllowExceptions(value: bool)Bu PdfFileSecurity örneğinde AllowExceptions(value) çağırır.

Ayrıca Bakınız

 Türkçe