class HexaPDF:: Encryption:: EncryptionDictionary
Parent | HexaPDF::Dictionary |
---|
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: PDF2.0 s7.6.2
Field Definitions
Name | Type/Allowed Values | Required | Default Value |
---|---|---|---|
Filter | Symbol | true | nil |
SubFilter | Symbol | false | nil |
V | Integer One of: 0, 1, 2, 3, 4, 5 | true | nil |
Lenth | Integer | false | 40 |
CF | HexaPDF::Dictionary or Hash | false | nil |
StmF | Symbol | false | :Identity |
StrF | Symbol | false | :Identity |
EFF | Symbol | false | nil |
Public Instance Methods
Returns true
because some PDF readers stumble when encountering a non-indirect encryption dictionary.