public HPDF_STATUS setEncryptionMode(
HaruEncryptMode mode,
uint keyLen)
Set the encryption mode. As the side effect, ups the version of PDF to 1.4 when the mode is set to HaruEncryptMode.R3
Parameters
One of the following:
key_len = Specify the byte length of encryption key. Only valid for HaruEncryptMode.R3. Between 5 (40 bits) and 16 (128 bits) can be specified