This class represents some data used for class StdSecurityHandler.
◆ StdEncryptData() [1/2]
Constructor, with parameters.
- Parameters
-
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | user_permissions | The user permissions. Please refer to values starting from PDFDoc::e_PermPrint and this should be one or combination of these values. |
[in] | cipher | Cipher type. Please refer to values starting from SecurityHandler::e_CipherRC4 and this should be one of these values except SecurityHandler::e_CipherNone. |
[in] | key_length | The key length, in bytes.
|
◆ StdEncryptData() [2/2]
foxit::pdf::StdEncryptData::StdEncryptData |
( |
const StdEncryptData & |
other | ) |
|
|
inline |
Constructor, with another standard encrypt data object.
- Parameters
-
[in] | other | Another standard encrypt data object. |
◆ operator!=()
bool foxit::pdf::StdEncryptData::operator!= |
( |
const StdEncryptData & |
other | ) |
const |
|
inline |
Not equal operator.
- Parameters
-
[in] | other | Another standard 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 standard encrypt data object, whose value would be assigned to current object. |
- Returns
- Reference to current object itself.
◆ operator==()
bool foxit::pdf::StdEncryptData::operator== |
( |
const StdEncryptData & |
other | ) |
const |
|
inline |
Equal operator.
- Parameters
-
[in] | other | Another standard 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()
Set value.
- Parameters
-
[in] | is_encrypt_metadata | true means to encrypt metadata, and false means not to encrypt metadata. |
[in] | user_permissions | The user permissions. Please refer to values starting from PDFDoc::e_PermPrint and this should be one or combination of these values. |
[in] | cipher | Cipher type. Please refer to values starting from SecurityHandler::e_CipherRC4 and this should be one of these values except SecurityHandler::e_CipherNone. |
[in] | key_length | The key length, in bytes.
|
- Returns
- None.
◆ key_length
int foxit::pdf::StdEncryptData::key_length |
The key length, in bytes.