Class: PkiExpress::PadesSignerInfo

Inherits:
CadesSignerInfo show all
Defined in:
lib/pki_express/pades_signer_info.rb

Instance Attribute Summary collapse

Attributes inherited from CadesSignerInfo

#certificate, #certified_date_reference, #message_digest, #signature, #signature_policy, #signing_time, #timestamps, #validation_results

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ PadesSignerInfo

Returns a new instance of PadesSignerInfo.



4
5
6
7
8
# File 'lib/pki_express/pades_signer_info.rb', line 4

def initialize(model)
  super(model)
  @is_document_timestamp = model.fetch(:isDocumentTimestamp)
  @signature_field_name = model.fetch(:signatureFieldName)
end

Instance Attribute Details

#is_document_timestampObject

Returns the value of attribute is_document_timestamp.



3
4
5
# File 'lib/pki_express/pades_signer_info.rb', line 3

def is_document_timestamp
  @is_document_timestamp
end

#signature_file_nameObject

Returns the value of attribute signature_file_name.



3
4
5
# File 'lib/pki_express/pades_signer_info.rb', line 3

def signature_file_name
  @signature_file_name
end