Package uicc.system

Class UICCPlatform


  • public final class UICCPlatform
    extends java.lang.Object
    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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static byte[] getTheVolatileByteArray()
      Returns the instance of the volatile byte array designated by the JCRE as global array.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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:
        java.lang.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.