Class: HexaPDF::Type::AcroForm::SignatureField::SeedValueDictionary
- Inherits:
-
Dictionary
- Object
- Object
- Dictionary
- HexaPDF::Type::AcroForm::SignatureField::SeedValueDictionary
- Extended by:
- Utils::BitField
- Defined in:
- lib/hexapdf/type/acro_form/signature_field.rb
Overview
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
Constant Summary
Constants included from DictionaryFields
DictionaryFields::Boolean, DictionaryFields::PDFByteString, DictionaryFields::PDFDate
Instance Attribute Summary
Attributes inherited from Object
#data, #document, #must_be_indirect
Instance Method Summary collapse
-
#flags ⇒ Object
:method: flag :call-seq: flag(*flags, clear_existing: false).
Methods included from Utils::BitField
Methods inherited from Dictionary
#[], #[]=, define_field, define_type, #delete, #each, each_field, #empty?, field, #key?, #to_hash, type, #type
Methods inherited from Object
#<=>, #==, #cache, #cached?, #clear_cache, deep_copy, #deep_copy, #document?, #eql?, field, #gen, #gen=, #hash, #indirect?, #initialize, #inspect, make_direct, #must_be_indirect?, #null?, #oid, #oid=, #type, #validate, #value, #value=
Constructor Details
This class inherits a constructor from HexaPDF::Object
Instance Method Details
#flags ⇒ Object
:method: flag :call-seq:
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.
137 138 139 140 141 |
# File 'lib/hexapdf/type/acro_form/signature_field.rb', line 137 bit_field(:flags, {filter: 0, sub_filter: 1, v: 2, reasons: 3, legal_attestation: 4, add_rev_info: 5, digest_method: 6, lock_document: 7, appearance_filter: 8}, lister: "flags", getter: "flagged?", setter: "flag", unsetter: "unflag", value_getter: "self[:Ff]", value_setter: "self[:Ff]") |