Package uicc.system
Class UICCPlatform
java.lang.Object
uicc.system.UICCPlatform
The
UICCPlatform class contains static method(s) to retrieve references to object(s) owned by the JCRE context, like Global Arrays.
See Java Card(TM) Runtime Environment (JCRE) Specification for details.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]Returns the instance of the volatile byte array designated by the JCRE as global array.
-
Method Details
-
getTheVolatileByteArray
public static byte[] getTheVolatileByteArray()Returns the instance of the volatile byte array designated by the JCRE as global array. The byte array length shall be at least equal to 256 bytes.Notes:
- Writes to its fields will not be affected by transactions.
- The content of this array is not guaranteed across APDUs.
- A reference to this byte array cannot be stored in class variables or instance variables or array components. See Java Card(TM) Runtime Environment (JCRE) Specification, Global Arrays for details.
- Returns:
- reference to the volatile byte array.
- Throws:
SecurityException- if the method is invoked from a context which is not the currently selected applet or the currently triggered applet i.e. the context of the applet that treats the current APDU or the context of the applet that has been triggered by the current APDU.
-