|
String | filter |
| The filter name of a custom security callback object. It should not be an empty string.
|
|
bool | is_encrypt_metadata |
| A boolean value to decide whether to encrypt metadata or not. true means to encrypt metadata, and false means not to encrypt metadata.
|
|
String | sub_filter |
| The sub filter name that specifies the syntax of the encryption dictionary contents. It should not be an empty string.
|
|
This class represents some data used for class CustomSecurityHandler.
◆ CustomEncryptData() [1/2]
foxit::pdf::CustomEncryptData::CustomEncryptData |
( |
bool |
is_encrypt_metadata, |
|
|
const String & |
filter, |
|
|
const String & |
sub_filter |
|
) |
| |
|
inline |
Constructor, with parameters.
- Parameters
-
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | filter | The filter name of a custom security callback object. It should not be an empty string. |
[in] | sub_filter | The sub filter name that specifies the syntax of the encryption dictionary contents. It should not be an empty string. |
◆ CustomEncryptData() [2/2]
Constructor, with another custom encrypt data object.
- Parameters
-
[in] | other | Another custom encrypt data object. |
◆ operator !=()
bool foxit::pdf::CustomEncryptData::operator != |
( |
const CustomEncryptData & |
other | ) |
const |
|
inline |
Not equal operator.
- Parameters
-
[in] | other | Another custom encrypt data object. This function will check if current object is not equal to this one. |
- Returns
- true means not equal, while false means equal.
◆ operator=()
Assign operator.
- Parameters
-
[in] | other | Another custom encrypt data object, whose value would be assigned to current object. |
- Returns
- Reference to current object itself.
◆ operator==()
bool foxit::pdf::CustomEncryptData::operator== |
( |
const CustomEncryptData & |
other | ) |
const |
|
inline |
Equal operator.
- Parameters
-
[in] | other | Another custom encrypt data object. This function will check if current object is equal to this one. |
- Returns
- true means equal, while false means not equal.
◆ Set()
void foxit::pdf::CustomEncryptData::Set |
( |
bool |
is_encrypt_metadata, |
|
|
const String & |
filter, |
|
|
const String & |
sub_filter |
|
) |
| |
|
inline |
Set value.
- Parameters
-
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | filter | The filter name of a custom security callback object. It should not be an empty string. |
[in] | sub_filter | The sub filter name that specifies the syntax of the encryption dictionary contents. It should not be an empty string. |
- Returns
- None.