Class SecureMessagingCommandAPDUDecoder

Object
   |
   +--SecureMessagingCommandAPDUDecoder

class SecureMessagingCommandAPDUDecoder


Decoder for a secure messaging APDU
Defined in securechannel.js


Field Summary
 Object apdu
          
 Object channel
          
 Object tlvlist
          
 
Constructor Summary
SecureMessagingCommandAPDUDecoder(<SecureChannel> channel, <APDU> apdu)
            Creates a decoder for a single secure messaging command APDU
 
Method Summary
 ByteString buildMACInput()
           Build the MAC input block
 ByteString decryptBody(<Key> key)
           Decrypt the body of a secure messaging APDU
 Number getLe()
           Return value of optional Le element with tag '97'
 boolean verifyMAC()
           Verify the message authentication code (MAC)

Field Detail

apdu

Object apdu

channel

Object channel

tlvlist

Object tlvlist

Constructor Detail

SecureMessagingCommandAPDUDecoder

SecureMessagingCommandAPDUDecoder(<SecureChannel> channel, <APDU> apdu)

Method Detail

buildMACInput

ByteString buildMACInput()

decryptBody

ByteString decryptBody(<Key> key)

getLe

Number getLe()

verifyMAC

boolean verifyMAC()


Documentation generated by JSDoc on Tue Sep 3 22:29:41 2013