|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaCardInterface
Interface with JavaCard-specific functions
Method Summary | |
---|---|
AID |
createApplet(AID aid,
byte[] bArray,
short bOffset,
byte bLength)
Create Applet instance in Simulator |
AID |
installApplet(AID aid,
String appletClassName,
byte[] appletJarContents,
byte[] bArray,
short bOffset,
byte bLength)
Install Applet into Simulator. |
AID |
installApplet(AID aid,
String appletClassName,
byte[] bArray,
short bOffset,
byte bLength)
Install Applet into Simulator. |
AID |
loadApplet(AID aid,
String appletClass)
Load Applet into Simulator |
AID |
loadApplet(AID aid,
String appletClassName,
byte[] appletJarContents)
Load Applet into Simulator |
boolean |
selectApplet(AID aid)
Select applet by it's AID It's method must be called before start working with applet instance |
Methods inherited from interface com.licel.jcardsim.io.CardInterface |
---|
getATR, reset, transmitCommand |
Method Detail |
---|
AID loadApplet(AID aid, String appletClassName, byte[] appletJarContents) throws SystemException
Applet
into Simulator
aid
- applet aidappletClassName
- fully qualified applet class name StrinappletJarContents
- contains a byte array containing a jar file with an applet and its dependent classes
AID
SystemException
- if appletClass
not instanceof
javacard.framework.Applet
AID loadApplet(AID aid, String appletClass)
Applet
into Simulator
aid
- applet aidappletClassName
- fully qualified applet class name Strin
AID
SystemException
- if appletClass
not instanceof
javacard.framework.Applet
AID createApplet(AID aid, byte[] bArray, short bOffset, byte bLength) throws SystemException
Applet
instance in Simulator
aid
- applet aidbArray
- the array containing installation parametersbOffset
- the starting offset in bArraybLength
- the length in bytes of the parameter data in bArray
AID
SystemException
- if exception in Applet.install(..)
method occurs.AID installApplet(AID aid, String appletClassName, byte[] bArray, short bOffset, byte bLength) throws SystemException
Applet
into Simulator.
This method is equal to:
loadApplet(...);
createApplet(...);
aid
- applet aid or nullappletClassName
- fully qualified applet class name StrinbArray
- the array containing installation parametersbOffset
- the starting offset in bArraybLength
- the length in bytes of the parameter data in bArray
AID
SystemException
- if appletClass
not instanceof
javacard.framework.Applet
AID installApplet(AID aid, String appletClassName, byte[] appletJarContents, byte[] bArray, short bOffset, byte bLength) throws SystemException
Applet
into Simulator.
This method is equal to:
loadApplet(...);
createApplet(...);
aid
- applet aid or nullappletClassName
- fully qualified applet class name StrinappletJarContents
- Contains a byte array containing a jar file with an applet and its dependent classesbArray
- the array containing installation parametersbOffset
- the starting offset in bArraybLength
- the length in bytes of the parameter data in bArray
AID
SystemException
- if appletClass
not instanceof
javacard.framework.Applet
boolean selectApplet(AID aid)
aid
- appletId
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |