class HexaPDF::Type::AcroForm::SignatureField

AcroForm signature fields represent a digital signature.

It serves two purposes: To visually display the signature and to hold the information of the digital signature itself.

If the signature should not be visible, the associated widget annotation should have zero width and height; and/or the 'hidden' or 'no_view' flags of the annotation should be set.

See: PDF1.7 s12.7.4.5

Public Instance Methods

field_value() click to toggle source

Returns the associated signature dictionary or nil if the signature is not filled in.

# File lib/hexapdf/type/acro_form/signature_field.rb, line 198
def field_value
  self[:V]
end
field_value=(sig_dict) click to toggle source

Sets the signature dictionary as value of this signature field.

# File lib/hexapdf/type/acro_form/signature_field.rb, line 203
def field_value=(sig_dict)
  self[:V] = sig_dict
end