Package javax.microedition.contactless.sc

Provides interfaces for communication with external smart cards.

See:
          Description

Interface Summary
ISO14443Connection This interface defines access to the ISO 14443-4 compliant contactless smart card.
 

Package javax.microedition.contactless.sc Description

Provides interfaces for communication with external smart cards.

Package Specification

Communication with external smart card is done using interfaces in this package. The smart cards are discovered the same way as any other contactless target in this specification. Once the external smart card is discovered, the communication with it is done using ISO14443Connection. The communication is based on APDU commands.

Relationship to JSR 177

Both JSR 177 and JSR 257 allow the applications to access smart cards. Even the interfaces provided for that access are quite similar. This appendix explains why these separate interfaces are needed in different JSRs and what is the relationship between these two.

JSR 177 chapter 12 defines an APDUConnection. Java applications can use this interface to communicate with applications on resident smart cards using APDU protocol (as defined in ISO-7816-4).

This specification defines ISO14443Connection that provides a mechanism to access smart cards. Smart card can also be external, where as JSR 177 provides only access to resident smart cards. ISO14443Connection allows the access to the whole smart card, where APDUConnection defined in JSR 177, is only used to communicate with a specific application on the smart card. Therefore ISO14443Conneciton provides a lower level access than APDUConnection.

One of the main reasons for providing ISO14443Connection is that this specification does not mandate the use of JSR 177. It is recommended that if JSR 177 is implemented on the device, it should be used in the implementation of ISO14443Connection.



Copyright © 2005-2006 Nokia Corporation. All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.