|
Foxit PDF SDK
|
Public 成员函数 | |
| CertificateSecurityHandler () | |
| 构造函数。 | |
| CertificateSecurityHandler (const foxit::pdf::SecurityHandler &other) | |
| 构造函数,使用父类对象。 更多... | |
| bool | Initialize (const CertificateEncryptData &encrypt_data, const String &encrypt_key) |
| 初始化当前证书安全处理器。 更多... | |
Public 成员函数 继承自 foxit::pdf::SecurityHandler | |
| SecurityHandler () | |
| 构造函数。 | |
| SecurityHandler (const SecurityHandler &other) | |
| 用另一个安全处理器对象的构造函数。 更多... | |
| virtual | ~SecurityHandler () |
| 析构函数。 | |
| virtual PDFDoc::EncryptType | GetSecurityType () |
| 获取当前安全处理器的加密类型。 更多... | |
| bool | IsEmpty () const |
| 检查当前对象是否为空。 更多... | |
| bool | operator != (const SecurityHandler &other) |
| 不等于操作符。 更多... | |
| SecurityHandler & | operator= (const SecurityHandler &other) |
| 赋值操作符。 更多... | |
| bool | operator== (const SecurityHandler &other) |
| 等于操作符。 更多... | |
Public 成员函数 继承自 foxit::Base | |
| FS_HANDLE | Handle () const |
| 获取当前对象的句柄。 更多... | |
额外继承的成员函数 | |
Public 类型 继承自 foxit::pdf::SecurityHandler | |
| enum | CipherType { e_CipherNone = 0, e_CipherRC4 = 1, e_CipherAES = 2 } |
| 加密算法的枚举。 更多... | |
此类表示证书安全处理器,用于证书加密。
|
explicit |
构造函数,使用父类对象。
| [in] | other | 父类对象。 |
| bool foxit::pdf::CertificateSecurityHandler::Initialize | ( | const CertificateEncryptData & | encrypt_data, |
| const String & | encrypt_key | ||
| ) |
初始化当前证书安全处理器。
| [in] | encrypt_data | 证书加密数据对象。在加密数据中,加密算法类型不应为 SecurityHandler::e_CipherNone。 |
| [in] | encrypt_key | 用于加密的密钥。 对于 SecurityHandler::e_CipherRC4 加密算法,加密密钥的长度应该在5到16之间。对于 SecurityHandler::e_CipherAES 加密算法,加密密钥的长度应该是16或32。 |