class HexaPDF::Type::AcroForm::SignatureField::SeedValueDictionary
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 and digest_method.
See: PDF1.7 s12.7.4.5
Public Instance Methods
flag(*flags, clear_existing: false)
click to toggle source
Sets the given flags, given as flag names or bit indices. If clear_existing
is true
, all prior flags will be cleared.
# File lib/hexapdf/type/acro_form/signature_field.rb, line 131 bit_field(:flags, {filter: 0, sub_filter: 1, v: 2, reasons: 3, legal_attestation: 4, add_rev_info: 5, digest_method: 6}, lister: "flags", getter: "flagged?", setter: "flag", unsetter: "unflag", value_getter: "self[:Ff]", value_setter: "self[:Ff]")
flagged?(flag)
click to toggle source
Returns true
if the given flag is set. The argument can either be the flag name or the bit index.
# File lib/hexapdf/type/acro_form/signature_field.rb, line 115
flags()
click to toggle source
Returns an array of flag names representing the set bit flags.
# File lib/hexapdf/type/acro_form/signature_field.rb, line 109