The optional SATSA-APDU package of the JSR-177 specification enables communication between MIDP applications and a smart card by using a protocol based on Application Protocol Data Units (APDUs). The APDU protocol is defined by ISO 7816-4 and is described in the Java Card Development Kit documentation in more detail.
An APDU is a short message represented by bytes. APDU messages are either commands or responses. The SATSA-APDU package allows a MIDP application to exchange APDU messages with a card application. For example, you can create an application that can send a command message to query an account balance and receive a response with the requested information.
The SATSA-APDU package is supported since Java Runtime 2.1 for Symbian and Series 40 3rd Edition FP 2. For more information about the Symbian and Series 40 implementations of the package, see the SATSA API implementation notes.
Usage of SATSA-APDU requires obtaining MIDP permissions. For more information on permissions of this API, see Security and Trust Services API (JSR-177)
To find out which devices support the SATSA API, see Forum Nokia Device Specifications.
The SATSA-APDU package implements an access control model for creating APDU connections, where a smart card publishes its access control requirements in an Access Control File (ACF). An ACF contains Access Control Lists (ACLs), which define a set of access rights required for accessing the smart card. Without proper permissions set on the ACL, applications are not able to use all APDU methods. For more information on the model, see SATSA specification (JSR-177), Appendix A, Recommended Security Element Access Control (PDF version).
The SATSA-APDU package consists of only one interface: APDUConnection
.
For more information about the javax.microedition.apdu
package, see SATSA Developer's Guide on the Oracle Web
site.