Class eIDSimulation
				
				
			
				Class implementing a simple ISO 7816-4 card simulation
				
				
					
Defined in:  eidsim.js.
				
			
| Constructor Attributes | Constructor Name and Description | 
|---|---|
| Create a card simulation object | 
| 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 | 
					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