Public Member Functions | |
StdEncryptData (bool is_encrypt_metadata, uint32 user_permissions, SecurityHandler::CipherType cipher, int key_length) | |
Constructor, with parameters. More... | |
StdEncryptData () | |
Constructor. | |
StdEncryptData (const StdEncryptData &other) | |
Constructor, with another StdEncryptData object. More... | |
~StdEncryptData () | |
Destructor. | |
bool | operator!= (const StdEncryptData &other) const |
Not equal operator. More... | |
StdEncryptData & | operator= (const StdEncryptData &other) |
Assign operator. More... | |
bool | operator== (const StdEncryptData &other) const |
Equal operator. More... | |
void | Set (bool is_encrypt_metadata, uint32 user_permissions, SecurityHandler::CipherType cipher, int key_length) |
Set value. More... | |
Public Attributes | |
SecurityHandler::CipherType | cipher |
Cipher type. Please refer to values starting from SecurityHandler::e_CipherRC4 and this should be one of these values except SecurityHandler::e_CipherNone. | |
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. | |
int | key_length |
The key length, in bytes. More... | |
uint32 | user_permissions |
The user permissions. Please refer to values starting from PDFDoc::e_PermPrint and this should be one or combination of these values. | |
This class represents some data used for class StdSecurityHandler.
|
inline |
Constructor, with 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.
|
|
inline |
Constructor, with another StdEncryptData object.
[in] | other | Another StdEncryptData object. |
|
inline |
Not equal operator.
[in] | other | Another StdEncryptData object. This function will check if current object is not equal to this one. |
|
inline |
Assign operator.
[in] | other | Another StdEncryptData object, whose value would be assigned to current object. |
|
inline |
Equal operator.
[in] | other | Another StdEncryptData object. This function will check if current object is equal to this one. |
|
inline |
Set value.
[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.
|
int foxit::pdf::StdEncryptData::key_length |
The key length, in bytes.