enum

Hpdf::EncryptMode

Inherits Enum / Comparable / Value / Object

set via Doc#set_password_and_permission.

Constants

EncryptR2 = 2

Use "Revision 2" algorithm. The length of key is automatically set to 5(40bit).

EncryptR3 = 3

Use "Revision 3" algorithm. Between 5(40bit) and 16(128bit) can be specified for length of the key.

Instance methods

encrypt_r2?

Returns true if this enum value equals EncryptR2

Source
encrypt_r3?

Returns true if this enum value equals EncryptR3

Source