class HexaPDF::Encryption::EncryptionDictionary

Parent

Base class for all encryption dictionaries.

Contains entries common to all encryption dictionaries. If a specific security handler needs further fields it should derive a new subclass and add the new fields there.

See: PDF1.7 s7.6.1

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
FilterSymboltruenil
SubFilterSymbolfalsenil
VIntegertruenil
LenthIntegerfalse40
CFHexaPDF::Dictionary or Hashfalsenil
StmFSymbolfalse:Identity
StrFSymbolfalse:Identity
EFFSymbolfalsenil

Public Instance Methods

must_be_indirect?()

Returns true because some PDF readers stumble when encountering a non-indirect encryption dictionary.