Class: Mintchip::ValueRequestMessage
- Inherits:
-
MintchipMessage
- Object
- MintchipMessage
- Mintchip::ValueRequestMessage
- Defined in:
- lib/mintchip/value_request_message.rb
Instance Method Summary collapse
-
#initialize(value, response_url, annotation, info) ⇒ ValueRequestMessage
constructor
A new instance of ValueRequestMessage.
- #packet ⇒ Object
Methods inherited from MintchipMessage
Constructor Details
#initialize(value, response_url, annotation, info) ⇒ ValueRequestMessage
Returns a new instance of ValueRequestMessage.
4 5 6 7 |
# File 'lib/mintchip/value_request_message.rb', line 4 def initialize(value, response_url, annotation, info) super @info = info end |
Instance Method Details
#packet ⇒ Object
9 10 11 |
# File 'lib/mintchip/value_request_message.rb', line 9 def packet OpenSSL::ASN1::ASN1Data.new([sequence], 2, :CONTEXT_SPECIFIC) end |