class HexaPDF::Type::AcroForm::SignatureField::CertificateSeedValueDictionary

A certificate seed value dictionary contains information about the characteristics of the certificate that shall be used when signing.

Flags

The flags describe the entries that a signer is required to use.

The available flags are: subject, issuer, oid, subject_dn, reserved, key_usage and url.

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 187
bit_field(:flags, {subject: 0, issuer: 1, oid: 2, subject_dn: 3, reserved: 4,
                   key_usage: 5, url: 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 171
          
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 165