|
Foxit PDF SDK
|
继承自 SystemIDisposable .
Public 成员函数 | |
| StdEncryptData (bool is_encrypt_metadata, int user_permissions, SecurityHandler.CipherType cipher, int key_length) | |
| 构造函数,带参数。 更多... | |
| StdEncryptData () | |
| 构造函数。 | |
| StdEncryptData (StdEncryptData other) | |
| 构造函数,使用另一个标准加密数据对象。 更多... | |
| void | Set (bool is_encrypt_metadata, int user_permissions, SecurityHandler.CipherType cipher, int key_length) |
| 设置值。 更多... | |
属性 | |
| SecurityHandler.CipherType | cipher [get, set] |
| 加密算法类型。请参考从 foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 开始的值,应该是这些值中的一个,除了 foxit.pdf.SecurityHandler.CipherType.e_CipherNone 。 | |
| bool | is_encrypt_metadata [get, set] |
| 决定是否加密元数据的布尔值。true 表示加密元数据,false 表示不加密元数据。 | |
| int | key_length [get, set] |
| 密钥长度,以字节为单位。 更多... | |
| int | user_permissions [get, set] |
| 用户权限。请参考从 foxit.pdf.PDFDoc.UserPermissions.e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 | |
此类表示用于类 StdSecurityHandler 的一些数据。
|
inline |
构造函数,带参数。
| [in] | is_encrypt_metadata | true 表示加密元数据,false 表示不加密元数据。 |
| [in] | user_permissions | 用户权限。请参考从 foxit.pdf.PDFDoc.UserPermissions.e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 |
| [in] | cipher | 加密算法类型。请参考从 foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 开始的值,应该是这些值中的一个,除了 foxit.pdf.SecurityHandler.CipherType.e_CipherNone 。 |
| [in] | key_length | 密钥长度,以字节为单位。
|
|
inline |
构造函数,使用另一个标准加密数据对象。
| [in] | other | 另一个标准加密数据对象。 |
|
inline |
设置值。
| [in] | is_encrypt_metadata | true 表示加密元数据,false 表示不加密元数据。 |
| [in] | user_permissions | 用户权限。请参考从 foxit.pdf.PDFDoc.UserPermissions.e_PermPrint 开始的值,应该是这些值中的一个或多个的组合。 |
| [in] | cipher | 加密算法类型。请参考从 foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 开始的值,应该是这些值中的一个,除了 foxit.pdf.SecurityHandler.CipherType.e_CipherNone 。 |
| [in] | key_length | 密钥长度,以字节为单位。
|
|
getset |
密钥长度,以字节为单位。
对于 foxit.pdf.SecurityHandler.CipherType.e_CipherRC4 加密算法,此值应该在5到16之间。推荐值为16。
对于 foxit.pdf.SecurityHandler.CipherType.e_CipherAES 加密算法,此值应该是16(作为AES-128)或32(作为AES-256,仅PDF 2.0支持)。