Chapter 8. Working with APDUs

This chapter describes the techniques of handling application protocol data units (APDUs) in an applet. APDUs are data packets; they are the application-level communication protocol between the application software on the card and the application software on the host side of the link. Readers who are not familiar with APDUs or need a refresher on the subject should read Chapter 2 before exploring this chapter.

In Java Card applets, the mechanism of communicating with the host is different from the networking techniques in Java applications. Much of the difference is due to the nature the APDU protocol. Java Card technology provides the class javacard.framework.APDU, which defines a powerful yet simple interface to ...

Get Java Card™ Technology for Smart Cards now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.