Class: Mintchip::ValueRequestMessage

Inherits:
MintchipMessage show all
Defined in:
lib/mintchip/value_request_message.rb

Instance Method Summary collapse

Methods inherited from MintchipMessage

#to_base64

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

#packetObject



9
10
11
# File 'lib/mintchip/value_request_message.rb', line 9

def packet
  OpenSSL::ASN1::ASN1Data.new([sequence], 2, :CONTEXT_SPECIFIC)
end