|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines a low level interface to the information needed to load, install and operate applets in a JavaCard (see loading parameters in ETSI 03.19). Defines an interface to the minimum information required to identify the card and to retrieve information about the resources available in the card.
| Method Summary | |
AID |
getAID(AID aid)
Allows to iterate over all AID stored in the card. |
CardGUID |
getCardGUID()
Retrieves the global unique identifier for this card from the underlying system. |
byte |
getCardLifecycleModel()
Retrieves the type of the card lifecylemodel as a byte (these type indicators has to be defined) could also be included in the CID data |
byte |
getCardState()
Get the actual state of the lifecyclemodel (these state indicators has to be defined) could also be included in the CID data |
short |
getCID(byte[] dest,
short destOffset,
short cidOffset,
byte length)
copy CID data into the buffer |
short |
getFreeNonVolatileMemory()
Retrieves the number of bytes of the free non volatile memory |
short |
getFreeVolatileMemory()
Retrieves the number of bytes of the free volatile memory |
short |
getJVMID()
Gives the build version of the VM in the card. |
short |
getJVMVersion()
Returns the current major and minor version of the Java VM In JCSystem we have already a method to retrieve the version info of the "JavaCard API", however in the future the version number of the VM and of the JavaCard API can differentiate. |
short |
getLargestFreeBlockNonVolatileMemory()
Retrieves the number of bytes in the largest free memory block |
byte |
getLifecycleModel(org.javacardforum.management.AID aid)
Retrieves the type of the lifecycle for an applet identified by an AID (these type indicators has to be defined) |
short |
getMinimumFreeVolatileMemory()
Retrieves the number of bytes of the free volatile memory |
byte |
getState(org.javacardforum.management.AID aid)
Get the actual state of an applet identified by an AID (these state indicators has to be defined) could also be included in the CID data |
void |
setCardState(byte state)
Set the actual state of the lifecyclemodel (these state indicators has to be defined) |
void |
setLifecycleModel(org.javacardforum.management.AID aid)
Set the type of the lifecycle for an applet identified by an AID (these type indicators has to be defined) |
void |
setState(org.javacardforum.management.AID aid,
byte state)
Set the actual state of an applet identified by an AID (these state indicators has to be defined) could also be included in the CID data |
| Method Detail |
public short getCID(byte[] dest,
short destOffset,
short cidOffset,
byte length)
dest - destination byte array for thedestOffset - offset within destination byte array to start copy intocidOffset - offset within the CID buffer to start copy fromlength - length to be copied.public CardGUID getCardGUID()
public short getFreeNonVolatileMemory()
public short getLargestFreeBlockNonVolatileMemory()
public short getFreeVolatileMemory()
public short getMinimumFreeVolatileMemory()
public AID getAID(AID aid)
aid - the next AID in the card, null will give the first aidpublic short getJVMVersion()
javacard.framework.JCSystempublic short getJVMID()
public byte getCardLifecycleModel()
public byte getCardState()
public void setCardState(byte state)
state - the new state of the cardpublic byte getLifecycleModel(org.javacardforum.management.AID aid)
aid - of the appletpublic void setLifecycleModel(org.javacardforum.management.AID aid)
aid - of the appletpublic byte getState(org.javacardforum.management.AID aid)
aid - of the applet
public void setState(org.javacardforum.management.AID aid,
byte state)
aid - of the appletthe - new state of the applet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||