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) を呼び出します。 |