Class: PkiExpress::CadesTimestamp
- Inherits:
-
CadesSignature
- Object
- CadesSignature
- PkiExpress::CadesTimestamp
- Defined in:
- lib/pki_express/cades_signature.rb
Instance Attribute Summary collapse
-
#gen_time ⇒ Object
Returns the value of attribute gen_time.
-
#message_imprint ⇒ Object
Returns the value of attribute message_imprint.
-
#serial_number ⇒ Object
Returns the value of attribute serial_number.
Attributes inherited from CadesSignature
#encapsulated_content_type, #has_encapsulated_content, #signers
Instance Method Summary collapse
-
#initialize(model) ⇒ CadesTimestamp
constructor
A new instance of CadesTimestamp.
Constructor Details
#initialize(model) ⇒ CadesTimestamp
Returns a new instance of CadesTimestamp.
26 27 28 29 30 31 32 33 34 |
# File 'lib/pki_express/cades_signature.rb', line 26 def initialize(model) super(model) @gen_time = nil @serial_number = nil @message_imprint = nil @gen_time = model.fetch(:genTime) @serial_number = model.fetch(:serialNumber) @message_imprint = model.fetch(:messageImprint) end |
Instance Attribute Details
#gen_time ⇒ Object
Returns the value of attribute gen_time.
24 25 26 |
# File 'lib/pki_express/cades_signature.rb', line 24 def gen_time @gen_time end |
#message_imprint ⇒ Object
Returns the value of attribute message_imprint.
24 25 26 |
# File 'lib/pki_express/cades_signature.rb', line 24 def @message_imprint end |
#serial_number ⇒ Object
Returns the value of attribute serial_number.
24 25 26 |
# File 'lib/pki_express/cades_signature.rb', line 24 def serial_number @serial_number end |