Class Index | File Index

Classes


Class eIDSimulation

Class implementing a simple ISO 7816-4 card simulation
Defined in: eidsim.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Create a card simulation object
Method Summary
Method Attributes Method Name and Description
 
Initialize card runtime
 
Initialize card runtime
<static>  
eIDSimulation.newInstance()
Create new simulation and register with existing or newly created adapter singleton.
 
processAPDU(capdu)
Process an inbound APDU
 
reset(type)
Respond to reset request
Class Detail
eIDSimulation()
Create a card simulation object
Method Detail
createFileSystem()
Initialize card runtime

initialize()
Initialize card runtime

<static> eIDSimulation.newInstance()
Create new simulation and register with existing or newly created adapter singleton.

{ByteString} processAPDU(capdu)
Process an inbound APDU
Parameters:
{ByteString} capdu
the command APDU
Returns:
the response APDU

{ByteString} reset(type)
Respond to reset request
Parameters:
{Number} type
reset type (One of Card.RESET_COLD or Card.RESET.WARM)
Returns:
answer to reset

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Jun 30 2014 21:40:00 GMT+0200 (CEST)