PdfFileSecurity

PdfFileSecurity

概要

PdfFileSecurity は Aspose.PDF の C++ 用 FOSS におけるクラスです。

このクラスは C++ プログラムで PdfFileSecurity オブジェクトを扱うための 20 のメソッドを提供します。利用可能なメソッドは AllowExceptions、BindPdf、ChangePassword、DecryptFile、EncryptFile、InputFile、OutputFile、PdfFileSecurity、SetPrivilege、TryChangePassword、TryDecryptFile、TryEncryptFile、および追加の 1 つのメソッドです。Aspose.PDF の C++ 用 FOSS パッケージをインストールすれば、すべての公開メンバーは任意の C++ アプリケーションから利用可能です。

メソッド

シグネチャ説明
PdfFileSecurity()このPdfFileSecurityインスタンスでPdfFileSecurityを呼び出します。
BindPdf(srcFile: std::string)このPdfFileSecurityインスタンスでBindPdf(srcFile)を呼び出します。
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolこのPdfFileSecurityインスタンスでEncryptFile(userPassword, ownerPassword, privilege, keySize)を呼び出します。
EncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolこのPdfFileSecurityインスタンスでEncryptFile(userPassword, ownerPassword, privilege, keySize, cipher)を呼び出します。
TryEncryptFile(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolこの PdfFileSecurity インスタンスで TryEncryptFile(userPassword, ownerPassword, privilege, keySize) を呼び出します。
DecryptFile(ownerPassword: std::string) → boolこの PdfFileSecurity インスタンスで DecryptFile(ownerPassword) を呼び出します。
TryDecryptFile(ownerPassword: std::string) → boolこの PdfFileSecurity インスタンスで TryDecryptFile(ownerPassword) を呼び出します。
SetPrivilege(privilege: DocumentPrivilege) → bool特権の値を設定します。
SetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → bool特権値を設定します。
TrySetPrivilege(userPassword: std::string, ownerPassword: std::string, privilege: DocumentPrivilege) → boolこの PdfFileSecurity インスタンス上で TrySetPrivilege(userPassword, ownerPassword, privilege) を呼び出します。
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolこの PdfFileSecurity インスタンス上で ChangePassword(ownerPassword, newUserPassword, newOwnerPassword) を呼び出します。
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolこの PdfFileSecurity インスタンス上で ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) を呼び出します。
ChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolこの PdfFileSecurity インスタンス上で ChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) を呼び出します。
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string) → boolこの PdfFileSecurity インスタンスで TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword) を呼び出します。
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize) → boolこの PdfFileSecurity インスタンスで TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize) を呼び出します。
TryChangePassword(ownerPassword: std::string, newUserPassword: std::string, newOwnerPassword: std::string, privilege: DocumentPrivilege, keySize: KeySize, cipher: Algorithm) → boolこの PdfFileSecurity インスタンスで TryChangePassword(ownerPassword, newUserPassword, newOwnerPassword, privilege, keySize, cipher) を呼び出します。
InputFile(value: std::string)この PdfFileSecurity インスタンスで InputFile(value) を呼び出します。
OutputFile(value: std::string)この PdfFileSecurity インスタンスで OutputFile(value) を呼び出します。
AllowExceptions() → boolこの PdfFileSecurity インスタンスで AllowExceptions を呼び出します。
AllowExceptions(value: bool)この PdfFileSecurity インスタンスで AllowExceptions(value) を呼び出します。

参照

 日本語