|
Static Public Attributes inherited from SecurityHandler |
|
static | e_CipherAES |
| | Use AES encryption algorithm, with the key length be 16 bytes (as AES-128) or 32 bytes (as AES-256, only supported in PDF 2.0).
|
| |
| static | e_CipherNone |
| | Enumeration for Encryption Algorithm. More...
|
| |
|
static | e_CipherRC4 |
| | Use RC4 encryption algorithm, with the key length between 5 bytes and 16 bytes.
|
| |
◆ GetDRMValue()
| DRMSecurityHandler.GetDRMValue |
( |
key |
| ) |
|
◆ Initialize()
| DRMSecurityHandler.Initialize |
( |
encrypt_data |
, |
|
|
file_id |
, |
|
|
initial_key |
|
|
) |
| |
◆ SetDRMValue()
| DRMSecurityHandler.SetDRMValue |
( |
key |
, |
|
|
value |
|
|
) |
| |
Set the DRM value for a specified parameter.
- Parameters
-
| [in] | key | A parameter string as the key name. It should not be an empty string. Followings are pre-defined key names:
-
Issuer: issuer name.
-
Creator: creator of this file.
-
FileID: file ID.
-
FlowCode: flow code for application control.
-
Order: order number.
-
User: user name.
-
ServiceURL: service URL for remote server.
-
Vender: vender name.
|
| [in] | value | New value string for specified parameter. |
- Returns
- true means success, while false means failure.
- Examples
- /Users/ec2-user/gitlab-runner/builds/E-xKdhDo/0/foxit/sdk/mobile/gsdk-doc-auto-build/harmony_nodejs/input/Index.js.
◆ VerifyEncryptionParams()
| DRMSecurityHandler.VerifyEncryptionParams |
( |
| ) |
|