class HexaPDF:: Type:: AcroForm:: SignatureField:: SeedValueDictionary
Parent | HexaPDF::Dictionary |
---|---|
Extended With |
HexaPDF::Utils::BitField |
A seed value dictionary contains information that constrains the properties of a signature that is applied to the associated signature field.
Flags¶ ↑
If a flag is set it means that the associated entry is a required constraint. Otherwise it is optional.
The available flags are: filter, sub_filter, v, reasons, legal_attestation, add_rev_info, digest_method, lock_document and appearance_filter.
See: PDF2.0 s12.7.5.5
Field Definitions
Name | Type/Allowed Values | Required | Default Value |
---|---|---|---|
Type | Symbol | false | :SV |
Ff | Integer | false | 0 |
Filter | Symbol | false | nil |
SubFilter | HexaPDF::PDFArray or Array | false | nil |
DigestMethod | HexaPDF::PDFArray or Array | false | nil |
V | Integer | false | nil |
Cert | HexaPDF::Type::AcroForm::SignatureField::CertificateSeedValueDictionary or Hash | false | nil |
Reasons | HexaPDF::PDFArray or Array | false | nil |
MDP | HexaPDF::Dictionary or Hash | false | nil |
TimeStamp | HexaPDF::Dictionary or Hash | false | nil |
LegalAttestation | HexaPDF::PDFArray or Array | false | nil |
AddRevInfo | TrueClass or FalseClass | false | nil |
LockDocument | Symbol One of: :true, :false, :auto | false | nil |
AppearanceFilter | String | false | nil |
Public Instance Methods
flag(*flags, clear_existing: false)
¶
Sets the given flags, given as flag names or bit indices. If clear_existing
is true
, all prior flags will be cleared.
flagged?(flag)
¶
Returns true
if the given flag is set. The argument can either be the flag name or the bit index.
Returns an array of flag names representing the set bit flags.