Package javacard.framework

Provides a framework of classes and interfaces for building, communicating with and working with Java Card technology-based applets. These classes and interfaces provide the minimum required functionality for a Java Card environment. If additional functionality is desired, for example to specialize the card for a particular market, other frameworks would need to be added.

The key classes and interfaces in this package are:

  • AID-encapsulates the Application Identifier (AID) associated with an applet.
  • APDU-provides methods for controlling card input and output.
  • Applet-the base class for all Java Card technology-based applets on the card. It provides methods for working with applets to be loaded onto, installed into and executed on a Java Card technology-compliant smart card.
  • CardException, CardRuntimeException-provide functionality similar to java.lang.Exception and java.lang.RuntimeException in the standard Java programming language, but specialized for the card environment.
  • ISO7816-provides important constants for working with input and output data.
  • JCSystem-provides methods for controlling system functions such as transaction management, transient objects, object deletion mechanism, resource management, and inter-applet object sharing.
  • MultiSelectable-provides methods that support advanced programming techniques with logical channels.
  • Shareable-provides a mechanism that lets objects that implement this interface be shared across an applet firewall.
  • Util-provides convenient methods for working with arrays and array data.