Class: PkiExpress::PadesSignerInfo
- Inherits:
-
CadesSignerInfo
- Object
- CadesSignerInfo
- PkiExpress::PadesSignerInfo
- Defined in:
- lib/pki_express/pades_signer_info.rb
Instance Attribute Summary collapse
-
#is_document_timestamp ⇒ Object
Returns the value of attribute is_document_timestamp.
-
#signature_file_name ⇒ Object
Returns the value of attribute signature_file_name.
Attributes inherited from CadesSignerInfo
#certificate, #certified_date_reference, #message_digest, #signature, #signature_policy, #signing_time, #timestamps, #validation_results
Instance Method Summary collapse
-
#initialize(model) ⇒ PadesSignerInfo
constructor
A new instance of PadesSignerInfo.
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_timestamp ⇒ Object
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 end |
#signature_file_name ⇒ Object
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 |