|
Foxit PDF SDK
|
Public 成员函数 | |
| StdEncryptData (bool is_encrypt_metadata, uint32 user_permissions, SecurityHandler::CipherType cipher, int key_length) | |
| 构造函数,带参数。 更多... | |
| StdEncryptData () | |
| 构造函数。 | |
| StdEncryptData (const StdEncryptData &other) | |
| 构造函数,使用另一个标准加密数据对象。 更多... | |
| bool | operator != (const StdEncryptData &other) const |
| 不等于操作符。 更多... | |
| StdEncryptData & | operator= (const StdEncryptData &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const StdEncryptData &other) const |
| 等于操作符。 更多... | |
| void | Set (bool is_encrypt_metadata, uint32 user_permissions, SecurityHandler::CipherType cipher, int key_length) |
| 设置值。 更多... | |
Public 属性 | |
| SecurityHandler::CipherType | cipher |
| 加密算法类型。请参考从 SecurityHandler::e_CipherRC4 开始的值,应该是这些值中的一个,除了 SecurityHandler::e_CipherNone。 | |
| bool | is_encrypt_metadata |
| 决定是否加密元数据的布尔值。true 表示加密元数据,false 表示不加密元数据。 | |
| int | key_length |
| 密钥长度,以字节为单位。 更多... | |
| uint32 | user_permissions |
| 用户权限。请参考从 PDFDoc::e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 | |
此类表示用于类 StdSecurityHandler 的一些数据。
|
inline |
构造函数,带参数。
| [in] | is_encrypt_metadata | true 表示加密元数据,false 表示不加密元数据。 |
| [in] | user_permissions | 用户权限。请参考从 PDFDoc::e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 |
| [in] | cipher | 加密算法类型。请参考从 SecurityHandler::e_CipherRC4 开始的值,应该是这些值中的一个,除了 SecurityHandler::e_CipherNone。 |
| [in] | key_length | 密钥长度,以字节为单位。
|
|
inline |
构造函数,使用另一个标准加密数据对象。
| [in] | other | 另一个标准加密数据对象。 |
|
inline |
不等于操作符。
| [in] | other | 另一个标准加密数据对象。此函数将检查当前对象是否不等于该对象。 |
|
inline |
赋值操作符。
| [in] | other | 另一个标准加密数据对象,其值将被赋给当前对象。 |
|
inline |
等于操作符。
| [in] | other | 另一个标准加密数据对象。此函数将检查当前对象是否等于该对象。 |
|
inline |
设置值。
| [in] | is_encrypt_metadata | true 表示加密元数据,false 表示不加密元数据。 |
| [in] | user_permissions | 用户权限。请参考从 PDFDoc::e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 |
| [in] | cipher | 加密算法类型。请参考从 SecurityHandler::e_CipherRC4 开始的值,应该是这些值中的一个,除了 SecurityHandler::e_CipherNone。 |
| [in] | key_length | 密钥长度,以字节为单位。
|
| int foxit::pdf::StdEncryptData::key_length |
密钥长度,以字节为单位。