Class EMVCommandInterpreter
Class implementing a command interpreter that handles EMV command APDUs
Defined in: emvcommandinterpreter.js.
Constructor Attributes | Constructor Name and Description |
---|---|
EMVCommandInterpreter(fileSelector)
Create a command interpreter
|
Method Attributes | Method Name and Description |
---|---|
dispatch(apdu, ins)
Dispatch to command handler based in INS byte in APDU
|
|
getProcessingOptions(apdu)
Implements GET PROCESSING OPTIONS
|
Class Detail
EMVCommandInterpreter(fileSelector)
Create a command interpreter
- Parameters:
- {FileSelector} fileSelector
- the file selector object
Method Detail
dispatch(apdu, ins)
Dispatch to command handler based in INS byte in APDU
- Parameters:
- {APDU} apdu
- the apdu
- {Number} ins
- the normalized instruction code
getProcessingOptions(apdu)
Implements GET PROCESSING OPTIONS
- Parameters:
- {APDU} apdu
- the command APDU