Java Card Technology
Java Card Technology
2
Java Card?
3
Smart Cards?
A smart card is a plastic
card that contains an
embedded integrated
circuit (IC)
Examples:
Our very Own T-Card!
T-Card
Credit Cards
Cell Phone SIM Cards
…
4
Smart Cards are good!? How?
5
Properties of Smart Cards:
6
Contact or Contact Less?
contact smart cards
work by communicating
via physical contact
between a card reader
and the smart card
contact less smart
cards communicate by
means of a radio
frequency signal, with a
typical range of less
than 2 feet
7
Now that we know Smart Cards:
8
Elements of Java Card Application:
9
Elements of Java Card Application:
10
The Back-End Application and Systems
Example:
In an electronic payment system, the back-end
application could provide access to credit card
and other payment information
11
The Reader-Side
Elements:
One or more Java
Applets
Card’s operating System
Java Card Runtime
Environment(JCRE)
• Java Card Virtual Machine
• Java Card Framework and
APIs
13
Communicating with a Java Card Applet
14
The Message-Passing Model
15
The Message-Passing Model
17
The Message-Passing Model
18
The Message-Passing Model
19
The Message-Passing Model
3. Processing APDUs
Every time there is an incoming APDU for a
selected applet:
The JCRE invokes the applet's process() method
The incoming APDU is passed as an argument
The applet must:
• parse the command APDU
• process the data
• generate a response APDU
• and return control to the JCRE
20
The Java Card RMI (JCRMI)
22
Questions?
23
References:
http://developers.sun.com/techtopics/mobility/javacard/arti
cles/javacard1/
http://www.utoronto.ca/tcard/what.html
http://www.lastminute.com/lmn/pso/catalog/Category.jhtml
?CATID=99331
24
Summary of Java Card Language Limitations
* http://java.sun.com/products/javacard/smartcards.html 25
Smart Card Types and Their Capabilities
26