public class PersistentSimulatorRuntime extends SimulatorRuntime
SimulatorRuntime.ApplicationInstance| Modifier and Type | Field and Description |
|---|---|
protected String |
appletsDir |
protected com.esotericsoftware.kryo.Kryo |
kryo |
static String |
PERSISTENT_BASE_DIR |
apduPrivateResetMethod, applets, currentAID, currentProtocol, extendedAPDU, generatedLoadFileAIDs, loadFiles, previousActiveObject, previousAID, registrationCallback, responseBuffer, responseBufferSize, selecting, shortAPDU, transactionDepth, transientMemory, usingExtendedAPDUs| Constructor and Description |
|---|
PersistentSimulatorRuntime() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clearApplet(javacard.framework.AID aid) |
protected void |
deleteApplet(javacard.framework.AID aid)
Delete applet
|
protected void |
deselect(SimulatorRuntime.ApplicationInstance applicationInstance) |
void |
installApplet(javacard.framework.AID loadFileAID,
javacard.framework.AID moduleAID,
javacard.framework.AID appletAID,
byte[] bArray,
short bOffset,
byte bLength) |
void |
loadApplet(javacard.framework.AID aid,
Class<? extends javacard.framework.Applet> appletClass)
Load applet
|
void |
reset()
powerdown/powerup
|
void |
resetRuntime() |
byte[] |
transmitCommand(byte[] command)
Transmit APDU to previous selected applet
|
abortTransaction, activateSimulatorRuntimeInstance, beginTransaction, changeProtocol, commitTransaction, findAppletForSelectApdu, getAID, getApplet, getAssignedChannel, getAvailablePersistentMemory, getAvailableTransientDeselectMemory, getAvailableTransientResetMemory, getCurrentAPDU, getJavaContext, getJavaOwner, getMaxCommitCapacity, getPreviousActiveObject, getPreviousContextAID, getSharedObject, getTransactionDepth, getTransientMemory, getUnusedCommitCapacity, installApplet, isAppletSelecting, isAppletSelectionApdu, isObjectDeletionSupported, loadLoadFile, lookupAID, lookupApplet, requestObjectDeletion, resetAPDU, sendAPDU, setJavaOwner, setPreviousActiveObjectpublic static final String PERSISTENT_BASE_DIR
protected final com.esotericsoftware.kryo.Kryo kryo
protected String appletsDir
public void loadApplet(javacard.framework.AID aid,
Class<? extends javacard.framework.Applet> appletClass)
SimulatorRuntimeloadApplet in class SimulatorRuntimeaid - Applet AIDappletClass - Applet classpublic void installApplet(javacard.framework.AID loadFileAID,
javacard.framework.AID moduleAID,
javacard.framework.AID appletAID,
byte[] bArray,
short bOffset,
byte bLength)
installApplet in class SimulatorRuntimepublic void reset()
SimulatorRuntimereset in class SimulatorRuntimepublic void resetRuntime()
resetRuntime in class SimulatorRuntimepublic byte[] transmitCommand(byte[] command)
throws javacard.framework.SystemException
SimulatorRuntimetransmitCommand in class SimulatorRuntimecommand - command apdujavacard.framework.SystemExceptionprotected void clearApplet(javacard.framework.AID aid)
protected void deleteApplet(javacard.framework.AID aid)
SimulatorRuntimedeleteApplet in class SimulatorRuntimeaid - Applet AID to deleteprotected void deselect(SimulatorRuntime.ApplicationInstance applicationInstance)
deselect in class SimulatorRuntime