SlideShare a Scribd company logo
Amol Kamble 
1
Presentation Agenda 
 Identify Java Card Technology 
 Identify Elements of Java Card 
applications 
 Communicating with a Java Card Applet 
 Java Card Language Limitations 
2
Introduction 
The first Java Card was introduced in 1996 by 
Schlumberge’s card division which later merged 
with Gemplus to form Gemalto 
Java Card refers to a technology that 
allows Java-based applications to be run 
securely on smart cards. 
Java Card gives the user, the ability to 
program the device and make them 
application specific. 
3
Smart Cards 
 A smart card is a plastic 
card that contains an 
embedded integrated 
circuit (IC) 
 Examples: 
 Our very Own T-Card! 
 Credit Cards 
 Cell Phone SIM Cards 
4
Java Cards are Smart! How?? 
 They store and process Information 
 Smart Cards can be used to add 
authentication and secure access to 
information systems that require a high 
level of security 
5
Properties 
 Highly secure 
 Tampering with one, results in destruction 
of the information it contains 
 Does not contain a battery. Becomes active 
when connected with a card reader 
 Comes in two forms: 
 Contact 
 Contact less 
6
Contact Java 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 
Contact & Contact-Less
Features of Java Card 
 SUPPORTED NOT SUPPORTED 
• Small primitive data types: 
boolean, byte, short. 
• One dimensional arrays. 
• Object oriented features: 
inheritance, virtual methods, 
dynamic object creation, 
overloading, scope. 
• Large primitive data 
types: long, double, float. 
• Characters, strings. 
• Multidimensional arrays. 
• Dynamic class loading. 
• Garbage collection. 
• Threads. 
• Object Cloning 
8
Elements of Java Card 
Application 
 A complete Java Card application 
consists of : 
 A back-end application 
 A host (off-card) application 
 An interface device (card reader ) 
 The on-card applet 
 User credentials 
9
10
The Back-End Application and 
Systems 
Provides connectivity to security systems 
Example: 
 In an electronic payment system, the back-end 
application could provide access to credit card and 
other payment information 
11
Card Reader’s side 
 Consists of two parts: 
 Host Application 
 Card Acceptance Device 
 Example 
Think of an ATM machine 
 Host Application, being the Computer, provides 
interaction with the system. 
 Card Acceptance Device, where you insert a debit card. 
12
The Card-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
Developing a Java Card Applet 
 Write the Java source 
 Compile your source 
 Convert the class files into a Converted 
Applet (CAP) file (binary representation of 
classes and interfaces) 
 Verify that the CAP is valid (structure, 
valid bytecode subset, inter-package 
dependencies) 
 Install the CAP file 
14
Communicating with a 
Java Card Applet 
 Two methods for communicating with Java 
Card Applet: 
1. Fundamental message-passing model 
2. Java Card Remote Method Invocation (JCRMI) which 
is a subset of J2SE RMI! 
15
16
The Message-Passing Model 
 All Java Card applets extend the Applet base 
class and must implement the install() and process() 
methods 
 JCRE calls install() when installing the applet, and 
process() every time there is an incoming APDU for the 
applet 
 APDU: A logical data packet that's exchanged 
between the CAD and the Java Card Framework (It 
Is considered as the center piece for the Message-Passing 
Model) 
17
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 
18
The Command APDU 
CLA - Class of Instruction 
INS - Instruction Code 
P1,P2 - Parameters 
Lc - Length of the field 
Le - Maximum Response Length 
19
The Response APDU 
SW1 : Status word1 
SW2: Status word2 
20
The Java Card RMI (JCRMI) 
 The second communication model relies on a 
subset of the J2SE RMI distributed-object model 
 a server application creates and makes accessible remote 
objects 
 a client application obtains remote references to remote 
objects, and then invokes remote methods on them. 
21
Benefits 
Hardware Independence: Java Card is 
independent of the type of hardware used and it 
can be run on any Smart card processor (8 bits or 
16 bits or 32 bits ) 
 Ability to store and manage many applications 
 Applets developed with Java Card technology will 
run on any Java Card technology-enabled smart 
card, independently of the card vendor and 
underlying hardware. 
22
Applications 
Subscriber Identity Module (SIM) cards, used in cell 
phones on most wireless networks 
Government and health-care identity cards 
Financial cards supporting both online and offline 
transactions 
Smart tickets for mass trans 
23
24
25

More Related Content

What's hot (20)

PPTX
Smart card technologya
puneet bhatia
 
PPT
Smart card
ram212213
 
PPT
Smart Card Technology
thinkahead.net
 
PPTX
Smart cards
Siddhartha Mazumdar
 
PPT
Smart card
Saumya Ranjan Behura
 
PDF
Embedded system in Smart Cards
Rebecca D'souza
 
PPT
Smart Card
Darani Daran
 
PDF
Security applications with Java Card
Julien SIMON
 
PPT
Minor Project- AES Implementation in Verilog
Hardik Manocha
 
PDF
College Student Smart Card
Surbhi Sharma
 
PDF
Smart Card Security
Prav_Kalyan
 
PPTX
Smart card
Ritika Golash
 
PPTX
Smart card ppt
kondalarao7
 
PPTX
E wallet
Debashis Mondal
 
PPTX
ATM BLock Diagram and its design uses development.pptx
keerthi975
 
PDF
I2C Bus (Inter-Integrated Circuit)
Varun Mahajan
 
PPT
Smart cards
jaswinderkaur144
 
PPT
Introduction to emv
Anil Chaurasiya
 
PPT
Smart Card
Alan Leewllyn Bivera
 
PPTX
Slideshare - PCIe
Jin Wu
 
Smart card technologya
puneet bhatia
 
Smart card
ram212213
 
Smart Card Technology
thinkahead.net
 
Smart cards
Siddhartha Mazumdar
 
Embedded system in Smart Cards
Rebecca D'souza
 
Smart Card
Darani Daran
 
Security applications with Java Card
Julien SIMON
 
Minor Project- AES Implementation in Verilog
Hardik Manocha
 
College Student Smart Card
Surbhi Sharma
 
Smart Card Security
Prav_Kalyan
 
Smart card
Ritika Golash
 
Smart card ppt
kondalarao7
 
E wallet
Debashis Mondal
 
ATM BLock Diagram and its design uses development.pptx
keerthi975
 
I2C Bus (Inter-Integrated Circuit)
Varun Mahajan
 
Smart cards
jaswinderkaur144
 
Introduction to emv
Anil Chaurasiya
 
Slideshare - PCIe
Jin Wu
 

Viewers also liked (8)

PPTX
Cloud Computing
Naveen Karn
 
PPTX
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
PPT
WAP 2.0
Ramasubbu .P
 
PPTX
PPT on Basic of Gateway
Naveen Karn
 
PPT
Mobile Computing UNIT-8
Ramesh Babu
 
PPT
Java card technology
Keerthi Thomas
 
PPT
Mobile agents
Santosh Pandey
 
PPT
Mobile Computing UNIT-I TO III
Ramesh Babu
 
Cloud Computing
Naveen Karn
 
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
WAP 2.0
Ramasubbu .P
 
PPT on Basic of Gateway
Naveen Karn
 
Mobile Computing UNIT-8
Ramesh Babu
 
Java card technology
Keerthi Thomas
 
Mobile agents
Santosh Pandey
 
Mobile Computing UNIT-I TO III
Ramesh Babu
 
Ad

Similar to Java card technology (20)

PPT
Javacardtech
Vivek Bajpai
 
PDF
Study of Java Card and its Application
editor1knowledgecuddle
 
PPT
Java card technology
Keerthi Thomas
 
DOC
Java card
rcrahul01
 
PPTX
Java card
Naga Dinesh
 
PPT
Embedded systems presentation power point.ppt
ssuser1b4013
 
PPT
What is smart card on tam
崇倍 洪
 
PPTX
JAVA CARD BY SAIKIRAN PANJALA
Saikiran Panjala
 
PDF
eSmartlock - an antipiracy dongle with integrated DRM functionalities
Yiannis Hatzopoulos
 
PDF
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
VLSICS Design
 
PPT
Security's Once and Future King
Kapil Sachdeva
 
PDF
jCardSim – Java Card is simple!
Mikhail Dudarev
 
PPTX
RFID attendance system
A.k. Goverdhan
 
PPTX
Inside .NET Smart Card Operating System
SensePost
 
PDF
Java Card Security
Riscure
 
PPT
M Commerce
Ram Dutt Shukla
 
PPT
Smartcard
aashish2cool4u
 
PDF
Tu dresden 290404_jcop
pri18saini
 
PPTX
RFID based smart shopping cart and billing system
laharipothula
 
PDF
Mypptinslideshare 180508104046 (1)
raviteja srinivasula
 
Javacardtech
Vivek Bajpai
 
Study of Java Card and its Application
editor1knowledgecuddle
 
Java card technology
Keerthi Thomas
 
Java card
rcrahul01
 
Java card
Naga Dinesh
 
Embedded systems presentation power point.ppt
ssuser1b4013
 
What is smart card on tam
崇倍 洪
 
JAVA CARD BY SAIKIRAN PANJALA
Saikiran Panjala
 
eSmartlock - an antipiracy dongle with integrated DRM functionalities
Yiannis Hatzopoulos
 
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
VLSICS Design
 
Security's Once and Future King
Kapil Sachdeva
 
jCardSim – Java Card is simple!
Mikhail Dudarev
 
RFID attendance system
A.k. Goverdhan
 
Inside .NET Smart Card Operating System
SensePost
 
Java Card Security
Riscure
 
M Commerce
Ram Dutt Shukla
 
Smartcard
aashish2cool4u
 
Tu dresden 290404_jcop
pri18saini
 
RFID based smart shopping cart and billing system
laharipothula
 
Mypptinslideshare 180508104046 (1)
raviteja srinivasula
 
Ad

Recently uploaded (20)

PDF
Longwin Company Profile AUO TFT LCD, TFT LCD
seobacklinkszd
 
PPTX
一比一原版(UoB毕业证)布莱德福德大学毕业证如何办理
Taqyea
 
PDF
Elevator Maintenance Checklist with eAuditor Audits & Inspections
eAuditor Audits & Inspections
 
PPT
Computer Hardware and Software Hw and SW .ppt
MuzaFar28
 
PPT
COMBINATIONAL LOGIC DESIGN SADSADASDASDASDASDASDASDA
phmthai2300
 
PPTX
Dnddnndjsjssjjdsjjddjjjdjdjdjdjddjjdjdj.pptx
Nandy31
 
PPT
4_Regular_Expressionssssssssssassssss.ppt
ssuser55bc74
 
PDF
Transformer Commissioning Checklist with eAuditor Audits & Inspections
eAuditor Audits & Inspections
 
PPTX
Cybersecurity_Office_everyday Presentation.pptx
widpra
 
PPTX
西班牙维尔瓦大学电子版毕业证{UHU毕业完成信UHU水印成绩单}原版制作
Taqyea
 
PDF
X-Station 2 Finger_UG_1.03_EN_240117.0.pdf
AhmedEssam240285
 
PPTX
Dock Line Organization Made Easy – Discover AMARREX, the Mooring Line Holder ...
Seawatt
 
PPT
it_14.ppt using atharva college of engineering
shkzishan810
 
PPT
476017990-IFRS-15-Revenue-from-Contracts-with-Customers-PPT-ppt.ppt
mehedifoysshal
 
PPT
CCTV SYSTEM Installation and Setup method
radioindorezonecctv
 
PDF
ELS-04-Juli-2025.pdf....................
adisantoso59
 
PPTX
英国学位证(PSU毕业证书)普利茅斯大学毕业证书如何办理
Taqyea
 
PPTX
Pranjal Accountancy hhw ppt.pptxbnhxududjylitzitzyoxtosoysitztd
nishantrathore042
 
PDF
LINAC CANCER TREATMENT LINEAR ACCELERATOR
nabeehasahar1
 
PPTX
Series.pptxvvggghgufifudududydydydudyxyxyx
jasperbernaldo3
 
Longwin Company Profile AUO TFT LCD, TFT LCD
seobacklinkszd
 
一比一原版(UoB毕业证)布莱德福德大学毕业证如何办理
Taqyea
 
Elevator Maintenance Checklist with eAuditor Audits & Inspections
eAuditor Audits & Inspections
 
Computer Hardware and Software Hw and SW .ppt
MuzaFar28
 
COMBINATIONAL LOGIC DESIGN SADSADASDASDASDASDASDASDA
phmthai2300
 
Dnddnndjsjssjjdsjjddjjjdjdjdjdjddjjdjdj.pptx
Nandy31
 
4_Regular_Expressionssssssssssassssss.ppt
ssuser55bc74
 
Transformer Commissioning Checklist with eAuditor Audits & Inspections
eAuditor Audits & Inspections
 
Cybersecurity_Office_everyday Presentation.pptx
widpra
 
西班牙维尔瓦大学电子版毕业证{UHU毕业完成信UHU水印成绩单}原版制作
Taqyea
 
X-Station 2 Finger_UG_1.03_EN_240117.0.pdf
AhmedEssam240285
 
Dock Line Organization Made Easy – Discover AMARREX, the Mooring Line Holder ...
Seawatt
 
it_14.ppt using atharva college of engineering
shkzishan810
 
476017990-IFRS-15-Revenue-from-Contracts-with-Customers-PPT-ppt.ppt
mehedifoysshal
 
CCTV SYSTEM Installation and Setup method
radioindorezonecctv
 
ELS-04-Juli-2025.pdf....................
adisantoso59
 
英国学位证(PSU毕业证书)普利茅斯大学毕业证书如何办理
Taqyea
 
Pranjal Accountancy hhw ppt.pptxbnhxududjylitzitzyoxtosoysitztd
nishantrathore042
 
LINAC CANCER TREATMENT LINEAR ACCELERATOR
nabeehasahar1
 
Series.pptxvvggghgufifudududydydydudyxyxyx
jasperbernaldo3
 

Java card technology

  • 2. Presentation Agenda  Identify Java Card Technology  Identify Elements of Java Card applications  Communicating with a Java Card Applet  Java Card Language Limitations 2
  • 3. Introduction The first Java Card was introduced in 1996 by Schlumberge’s card division which later merged with Gemplus to form Gemalto Java Card refers to a technology that allows Java-based applications to be run securely on smart cards. Java Card gives the user, the ability to program the device and make them application specific. 3
  • 4. Smart Cards  A smart card is a plastic card that contains an embedded integrated circuit (IC)  Examples:  Our very Own T-Card!  Credit Cards  Cell Phone SIM Cards 4
  • 5. Java Cards are Smart! How??  They store and process Information  Smart Cards can be used to add authentication and secure access to information systems that require a high level of security 5
  • 6. Properties  Highly secure  Tampering with one, results in destruction of the information it contains  Does not contain a battery. Becomes active when connected with a card reader  Comes in two forms:  Contact  Contact less 6
  • 7. Contact Java 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 Contact & Contact-Less
  • 8. Features of Java Card  SUPPORTED NOT SUPPORTED • Small primitive data types: boolean, byte, short. • One dimensional arrays. • Object oriented features: inheritance, virtual methods, dynamic object creation, overloading, scope. • Large primitive data types: long, double, float. • Characters, strings. • Multidimensional arrays. • Dynamic class loading. • Garbage collection. • Threads. • Object Cloning 8
  • 9. Elements of Java Card Application  A complete Java Card application consists of :  A back-end application  A host (off-card) application  An interface device (card reader )  The on-card applet  User credentials 9
  • 10. 10
  • 11. The Back-End Application and Systems Provides connectivity to security systems Example:  In an electronic payment system, the back-end application could provide access to credit card and other payment information 11
  • 12. Card Reader’s side  Consists of two parts:  Host Application  Card Acceptance Device  Example Think of an ATM machine  Host Application, being the Computer, provides interaction with the system.  Card Acceptance Device, where you insert a debit card. 12
  • 13. The Card-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
  • 14. Developing a Java Card Applet  Write the Java source  Compile your source  Convert the class files into a Converted Applet (CAP) file (binary representation of classes and interfaces)  Verify that the CAP is valid (structure, valid bytecode subset, inter-package dependencies)  Install the CAP file 14
  • 15. Communicating with a Java Card Applet  Two methods for communicating with Java Card Applet: 1. Fundamental message-passing model 2. Java Card Remote Method Invocation (JCRMI) which is a subset of J2SE RMI! 15
  • 16. 16
  • 17. The Message-Passing Model  All Java Card applets extend the Applet base class and must implement the install() and process() methods  JCRE calls install() when installing the applet, and process() every time there is an incoming APDU for the applet  APDU: A logical data packet that's exchanged between the CAD and the Java Card Framework (It Is considered as the center piece for the Message-Passing Model) 17
  • 18. 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 18
  • 19. The Command APDU CLA - Class of Instruction INS - Instruction Code P1,P2 - Parameters Lc - Length of the field Le - Maximum Response Length 19
  • 20. The Response APDU SW1 : Status word1 SW2: Status word2 20
  • 21. The Java Card RMI (JCRMI)  The second communication model relies on a subset of the J2SE RMI distributed-object model  a server application creates and makes accessible remote objects  a client application obtains remote references to remote objects, and then invokes remote methods on them. 21
  • 22. Benefits Hardware Independence: Java Card is independent of the type of hardware used and it can be run on any Smart card processor (8 bits or 16 bits or 32 bits )  Ability to store and manage many applications  Applets developed with Java Card technology will run on any Java Card technology-enabled smart card, independently of the card vendor and underlying hardware. 22
  • 23. Applications Subscriber Identity Module (SIM) cards, used in cell phones on most wireless networks Government and health-care identity cards Financial cards supporting both online and offline transactions Smart tickets for mass trans 23
  • 24. 24
  • 25. 25