class HexaPDF:: Encryption:: StandardEncryptionDictionary
Parent | HexaPDF::Encryption::EncryptionDictionary |
---|
The specialized encryption dictionary for the StandardSecurityHandler
.
Contains additional fields that are used for storing the information needed for retrieving the encryption key and a set of permissions.
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 |
R | Integer One of: 2, 3, 4, 5, 6 | true | nil |
O | HexaPDF::DictionaryFields::PDFByteString or String | true | nil |
OE | HexaPDF::DictionaryFields::PDFByteString or String | false | nil |
U | HexaPDF::DictionaryFields::PDFByteString or String | true | nil |
UE | HexaPDF::DictionaryFields::PDFByteString or String | false | nil |
P | Integer | true | nil |
Perms | HexaPDF::DictionaryFields::PDFByteString or String | false | nil |
EncryptMetadata | TrueClass or FalseClass | false | true |