class HexaPDF::Type::AcroForm::SignatureField::SeedValueDictionary

Parent
Extended With

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

Field Definitions

NameType/Allowed ValuesRequiredDefault Value
TypeSymbolfalse:SV
FfIntegerfalse0
FilterSymbolfalsenil
SubFilterHexaPDF::PDFArray or Arrayfalsenil
DigestMethodHexaPDF::PDFArray or Arrayfalsenil
VFloatfalsenil
CertHexaPDF::Type::AcroForm::SignatureField::CertificateSeedValueDictionary or Hashfalsenil
ReasonsHexaPDF::PDFArray or Arrayfalsenil
MDPHexaPDF::Dictionary or Hashfalsenil
TimeStampHexaPDF::Dictionary or Hashfalsenil
LegalAttestationHexaPDF::PDFArray or Arrayfalsenil
AddRevInfoTrueClass or FalseClassfalsenil

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.

flags()

Returns an array of flag names representing the set bit flags.