|
Foxit PDF SDK
|
Public 成员函数 | |
| CertificateSecurityHandler () | |
| 构造函数。 | |
| CertificateSecurityHandler (SecurityHandler other) | |
| 构造函数,使用父类对象。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| boolean | initialize (CertificateEncryptData encrypt_data, byte[] encrypt_key) throws com.foxit.sdk.PDFException |
| 初始化当前证书安全处理器。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.pdf.SecurityHandler | |
| SecurityHandler () | |
| 构造函数。 | |
| SecurityHandler (SecurityHandler other) | |
| 用另一个安全处理器对象的构造函数。 更多... | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
| int | getSecurityType () |
| 获取当前安全处理器的加密类型。 更多... | |
| boolean | isEmpty () |
| 检查当前对象是否为空。 更多... | |
Public 成员函数 继承自 com.foxit.sdk.common.Base | |
| synchronized void | delete () |
| 直接清除C++相关资源。 更多... | |
额外继承的成员函数 | |
静态 Public 属性 继承自 com.foxit.sdk.pdf.SecurityHandler | |
| static final int | e_CipherAES = 2 |
| 使用AES加密算法,密钥长度为16字节(AES-128)或 32字节(AES-256,仅在PDF 2.0中支持)。 | |
| static final int | e_CipherNone = 0 |
| 不使用加密算法。 | |
| static final int | e_CipherRC4 = 1 |
| 使用RC4加密算法,密钥长度在5字节到16字节之间。 | |
此类表示证书安全处理器,用于证书加密。
| com.foxit.sdk.pdf.CertificateSecurityHandler.CertificateSecurityHandler | ( | SecurityHandler | other | ) |
构造函数,使用父类对象。
| [in] | other | 父类对象。 |
| synchronized void com.foxit.sdk.pdf.CertificateSecurityHandler.delete | ( | ) |
直接清除C++相关资源。
| boolean com.foxit.sdk.pdf.CertificateSecurityHandler.initialize | ( | CertificateEncryptData | encrypt_data, |
| byte [] | encrypt_key | ||
| ) | throws com.foxit.sdk.PDFException |
初始化当前证书安全处理器。
| [in] | encrypt_data | 证书加密数据对象。在加密数据中,加密算法类型不应为 com.foxit.sdk.pdf.SecurityHandler.e_CipherNone 。 |
| [in] | encrypt_key | 用于加密的密钥。 对于 com.foxit.sdk.pdf.SecurityHandler.e_CipherRC4 加密算法,加密密钥的长度应该在5到16之间。对于 com.foxit.sdk.pdf.SecurityHandler.e_CipherAES 加密算法,加密密钥的长度应该是16或32。 |