Class: EMV::APDU::VERIFY
- Inherits:
-
ISO7816::APDU::VERIFY
- Object
- ISO7816::APDU::VERIFY
- EMV::APDU::VERIFY
- Defined in:
- lib/emv/emv_apdu.rb
Instance Method Summary collapse
- #enciphered_pin ⇒ Object
-
#initialize(card) ⇒ VERIFY
constructor
A new instance of VERIFY.
- #plaintext_pin ⇒ Object
Constructor Details
#initialize(card) ⇒ VERIFY
Returns a new instance of VERIFY.
42 43 44 45 |
# File 'lib/emv/emv_apdu.rb', line 42 def initialize card super self.plaintext_pin end |
Instance Method Details
#enciphered_pin ⇒ Object
49 50 51 |
# File 'lib/emv/emv_apdu.rb', line 49 def enciphered_pin @p2 = ("" << 0x88) end |
#plaintext_pin ⇒ Object
46 47 48 |
# File 'lib/emv/emv_apdu.rb', line 46 def plaintext_pin @p2 = ("" << 0x80) end |