class HexaPDF::Encryption::StandardSecurityHandler::EncryptionOptions

Parent

Defines all possible options that can be passed to a StandardSecurityHandler when setting up encryption.

Attributes

algorithm[RW]

The encryption algorithm.

encrypt_metadata[RW]

Specifies whether metadata should be encrypted.

owner_password[RW]

The owner password. If this attribute is not specified but the virtual password attribute is, then the latter is used.

permissions[RW]

The permissions. Either an integer with the needed permission bits set or an array of permission symbols.

See: Permissions

user_password[RW]

The user password. If this attribute is not specified but the virtual password attribute is, then the latter is used.