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
| İmza | Açı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) → bool | Bu 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) → bool | Bu PdfFileSecurity örneğinde EncryptFile(userPassword, ownerPassword, privilege, keySize, cipher) çağrılır. |
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Bu PdfFileSecurity örneğinde TryEncryptFile(userPassword, ownerPassword, privilege, keySize) çağırır. |
DecryptFile(ownerPassword: std::string) → bool | Bu PdfFileSecurity örneğinde DecryptFile(ownerPassword) çağırır. |
TryDecryptFile(ownerPassword: std::string) → bool | Bu PdfFileSecurity örneğinde TryDecryptFile(ownerPassword) çağırır. |
SetPrivilege(privilege: DocumentPrivilege) → bool | Ayrıcalık değerini ayarlar. |
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Yetki değerini ayarlar. |
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool | Bu PdfFileSecurity örneğinde TrySetPrivilege(userPassword, ownerPassword, privilege) çağrılır. |
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Bu 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) → bool | Bu 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) → bool | Bu PdfFileSecurity örneğinde ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) çağrılır. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → bool | Bu PdfFileSecurity örneğinde TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) çağırır. |
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → bool | Bu 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) → bool | Bu 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() → bool | Bu PdfFileSecurity örneğinde AllowExceptions çağırır. |
AllowExceptions(value: bool) | Bu PdfFileSecurity örneğinde AllowExceptions(value) çağırır. |