|
Foxit PDF SDK
|
Inherits SystemIDisposable.
Public Member Functions | |
| DRMEncryptData (bool is_encrypt_metadata, string sub_filter, SecurityHandler.CipherType cipher, int key_length, bool is_owner, int user_permissions) | |
| Constructor, with parameters. More... | |
| DRMEncryptData () | |
| Constructor. | |
| DRMEncryptData (DRMEncryptData other) | |
| Constructor, with another DRM encrypt data object. More... | |
| void | Set (bool is_encrypt_metadata, string sub_filter, SecurityHandler.CipherType cipher, int key_length, bool is_owner, int user_permissions) |
| Set value. More... | |
Properties | |
| SecurityHandler.CipherType | cipher [get, set] |
| Cipher type. Please refer to values starting from foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 and this should be one of these values except foxit.pdf.SecurityHandler.CipherType.e_CipherNone . | |
| bool | is_encrypt_metadata [get, set] |
| A boolean value to decide whether to encrypt metadata or not. true means to encrypt metadata, and false means not to encrypt metadata. | |
| bool | is_owner [get, set] |
| A boolean value to decide whether current user is owner or not. true means current user is owner, and false means current user is not owner. | |
| int | key_length [get, set] |
| The key length, in bytes. For foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 cipher, this value should be between 5 and 16. For foxit.pdf.SecurityHandler.CipherType.e_CipherAES cipher, this value should be 16 or 32. | |
| string | sub_filter [get, set] |
| The sub filter name that specifies the syntax of the encryption dictionary contents. | |
| int | user_permissions [get, set] |
| The user permissions. Please refer to values starting from foxit.pdf.PDFDoc.UserPermissions.e_PermPrint and this can be one or combination of these values. | |
This class represents some data used for class DRMSecurityHandler .
|
inline |
Constructor, with parameters.
| [in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata |
| [in] | sub_filter | The sub filter name that specifies the syntax of the encryption dictionary contents. |
| [in] | cipher | Cipher type. Please refer to values starting from foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 and this should be one of these values except foxit.pdf.SecurityHandler.CipherType.e_CipherNone . |
| [in] | key_length | The key length, in bytes. For foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 cipher, this value should be between 5 and 16. For foxit.pdf.SecurityHandler.CipherType.e_CipherAES cipher, this value should be 16 or 32. |
| [in] | is_owner | true means current user is owner, and false means current user is not owner. |
| [in] | user_permissions | The user permissions. Please refer to values starting from foxit.pdf.PDFDoc.UserPermissions.e_PermPrint and this can be one or combination of these values. |
|
inline |
Constructor, with another DRM encrypt data object.
| [in] | other | Another DRM encrypt data object. |
|
inline |
Set value.
| [in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata |
| [in] | sub_filter | The sub filter name that specifies the syntax of the encryption dictionary contents. |
| [in] | cipher | Cipher type. Please refer to values starting from foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 and this should be one of these values except foxit.pdf.SecurityHandler.CipherType.e_CipherNone . |
| [in] | key_length | The key length, in bytes. For foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 cipher, this value should be between 5 and 16. For foxit.pdf.SecurityHandler.CipherType.e_CipherAES cipher, this value should be 16 or 32. |
| [in] | is_owner | true means current user is owner, and false means current user is not owner. |
| [in] | user_permissions | The user permissions. Please refer to values starting from foxit.pdf.PDFDoc.UserPermissions.e_PermPrint and this can be one or combination of these values. |