The SATSA-APDU optional 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 could create an application that can send a command message to query an account balance and receive a response with the requested information.
The API was first introduced in Series 40 3rd Edition Feature Pack 2. For Series 40 specific implementation details of the API, see SATSA API implementation notes.
For devices that support SATSA API, see Forum Nokia, Devices.
The SATSA APDU API 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 on the javax.microedition.apdu
package,
see also SATSA
Developer's Guide on the Java Sun Web page.