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
Ad

More Related Content

What's hot (20)

Wireless network ppt
Wireless network pptWireless network ppt
Wireless network ppt
Basil John
 
Lamp technology
Lamp technologyLamp technology
Lamp technology
Harish Sabbani
 
what is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it workwhat is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it work
Sara shall
 
Smart card technology
Smart card technologySmart card technology
Smart card technology
Shashank Karamballi
 
Smart card ppt
Smart card pptSmart card ppt
Smart card ppt
kondalarao7
 
SIM Card Overview
SIM Card OverviewSIM Card Overview
SIM Card Overview
Carlos Enrique Ortiz
 
Smart Card Technology
Smart Card TechnologySmart Card Technology
Smart Card Technology
Amit Gaur
 
Smart card system ppt
Smart card system ppt Smart card system ppt
Smart card system ppt
Dewanshu Haswani
 
Smatcard documentation
Smatcard documentationSmatcard documentation
Smatcard documentation
Bhadra Gowdra
 
SmartTrust WIB 1.3
SmartTrust WIB 1.3SmartTrust WIB 1.3
SmartTrust WIB 1.3
Julien SIMON
 
Lecture notes on mobile communication
Lecture notes on mobile communicationLecture notes on mobile communication
Lecture notes on mobile communication
Inocentshuja Ahmad
 
Intermediate: Vehicle to Everything (V2X) Introduction
Intermediate: Vehicle to Everything (V2X) IntroductionIntermediate: Vehicle to Everything (V2X) Introduction
Intermediate: Vehicle to Everything (V2X) Introduction
3G4G
 
Taxonomy for bugs
Taxonomy for bugsTaxonomy for bugs
Taxonomy for bugs
Harika Krupal
 
Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8
RUpaliLohar
 
Gsm signalling protocol
Gsm signalling protocolGsm signalling protocol
Gsm signalling protocol
Pratit Khare
 
5G PPT
5G PPT5G PPT
5G PPT
Sharon Moses
 
Seminar on smart antenna systems
Seminar on smart antenna systemsSeminar on smart antenna systems
Seminar on smart antenna systems
Ashok Behuria
 
5G Shared Spectrum
5G Shared Spectrum5G Shared Spectrum
5G Shared Spectrum
Qualcomm Research
 
High-level architecture of Mobile Cellular Networks from 2G to 5G
High-level architecture of Mobile Cellular Networks from 2G to 5GHigh-level architecture of Mobile Cellular Networks from 2G to 5G
High-level architecture of Mobile Cellular Networks from 2G to 5G
3G4G
 
Gsm system and radio frequency
Gsm system and radio frequency Gsm system and radio frequency
Gsm system and radio frequency
Maulik Patel
 
Wireless network ppt
Wireless network pptWireless network ppt
Wireless network ppt
Basil John
 
what is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it workwhat is Internet of things(iot) & how does it work
what is Internet of things(iot) & how does it work
Sara shall
 
Smart Card Technology
Smart Card TechnologySmart Card Technology
Smart Card Technology
Amit Gaur
 
Smatcard documentation
Smatcard documentationSmatcard documentation
Smatcard documentation
Bhadra Gowdra
 
SmartTrust WIB 1.3
SmartTrust WIB 1.3SmartTrust WIB 1.3
SmartTrust WIB 1.3
Julien SIMON
 
Lecture notes on mobile communication
Lecture notes on mobile communicationLecture notes on mobile communication
Lecture notes on mobile communication
Inocentshuja Ahmad
 
Intermediate: Vehicle to Everything (V2X) Introduction
Intermediate: Vehicle to Everything (V2X) IntroductionIntermediate: Vehicle to Everything (V2X) Introduction
Intermediate: Vehicle to Everything (V2X) Introduction
3G4G
 
Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8
RUpaliLohar
 
Gsm signalling protocol
Gsm signalling protocolGsm signalling protocol
Gsm signalling protocol
Pratit Khare
 
Seminar on smart antenna systems
Seminar on smart antenna systemsSeminar on smart antenna systems
Seminar on smart antenna systems
Ashok Behuria
 
High-level architecture of Mobile Cellular Networks from 2G to 5G
High-level architecture of Mobile Cellular Networks from 2G to 5GHigh-level architecture of Mobile Cellular Networks from 2G to 5G
High-level architecture of Mobile Cellular Networks from 2G to 5G
3G4G
 
Gsm system and radio frequency
Gsm system and radio frequency Gsm system and radio frequency
Gsm system and radio frequency
Maulik Patel
 

Viewers also liked (7)

Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
Naveen Karn
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
WAP 2.0
WAP 2.0WAP 2.0
WAP 2.0
Ramasubbu .P
 
PPT on Basic of Gateway
PPT on Basic of GatewayPPT on Basic of Gateway
PPT on Basic of Gateway
Naveen Karn
 
Mobile Computing UNIT-8
Mobile Computing UNIT-8Mobile Computing UNIT-8
Mobile Computing UNIT-8
Ramesh Babu
 
Mobile agents
Mobile agentsMobile agents
Mobile agents
Santosh Pandey
 
Mobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO IIIMobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO III
Ramesh Babu
 
Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)Introduction to Mobile programming(J2ME)
Introduction to Mobile programming(J2ME)
Wambua Wambua
 
PPT on Basic of Gateway
PPT on Basic of GatewayPPT on Basic of Gateway
PPT on Basic of Gateway
Naveen Karn
 
Mobile Computing UNIT-8
Mobile Computing UNIT-8Mobile Computing UNIT-8
Mobile Computing UNIT-8
Ramesh Babu
 
Mobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO IIIMobile Computing UNIT-I TO III
Mobile Computing UNIT-I TO III
Ramesh Babu
 
Ad

Similar to Java card technology (20)

Javacardtech
JavacardtechJavacardtech
Javacardtech
Vivek Bajpai
 
Study of Java Card and its Application
Study of Java Card and its ApplicationStudy of Java Card and its Application
Study of Java Card and its Application
editor1knowledgecuddle
 
Java card technology
Java card technologyJava card technology
Java card technology
Keerthi Thomas
 
Java card
Java cardJava card
Java card
rcrahul01
 
Java card
Java card Java card
Java card
Naga Dinesh
 
Embedded systems presentation power point.ppt
Embedded systems presentation power point.pptEmbedded systems presentation power point.ppt
Embedded systems presentation power point.ppt
ssuser1b4013
 
What is smart card on tam
What is smart card on tamWhat is smart card on tam
What is smart card on tam
崇倍 洪
 
JAVA CARD BY SAIKIRAN PANJALA
JAVA CARD BY SAIKIRAN PANJALAJAVA CARD BY SAIKIRAN PANJALA
JAVA CARD BY SAIKIRAN PANJALA
Saikiran Panjala
 
Smart Card Technology
Smart Card TechnologySmart Card Technology
Smart Card Technology
thinkahead.net
 
eSmartlock - an antipiracy dongle with integrated DRM functionalities
eSmartlock - an antipiracy dongle with integrated DRM functionalitieseSmartlock - an antipiracy dongle with integrated DRM functionalities
eSmartlock - an antipiracy dongle with integrated DRM functionalities
Yiannis Hatzopoulos
 
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
VLSICS Design
 
Security's Once and Future King
Security's Once and Future KingSecurity's Once and Future King
Security's Once and Future King
Kapil Sachdeva
 
jCardSim – Java Card is simple!
jCardSim – Java Card is simple!jCardSim – Java Card is simple!
jCardSim – Java Card is simple!
Mikhail Dudarev
 
RFID attendance system
RFID attendance systemRFID attendance system
RFID attendance system
A.k. Goverdhan
 
Inside .NET Smart Card Operating System
Inside .NET Smart Card Operating SystemInside .NET Smart Card Operating System
Inside .NET Smart Card Operating System
SensePost
 
Java Card Security
Java Card SecurityJava Card Security
Java Card Security
Riscure
 
M Commerce
M CommerceM Commerce
M Commerce
Ram Dutt Shukla
 
Smart card
Smart cardSmart card
Smart card
Saumya Ranjan Behura
 
Tu dresden 290404_jcop
Tu dresden 290404_jcopTu dresden 290404_jcop
Tu dresden 290404_jcop
pri18saini
 
Smart Card
Smart CardSmart Card
Smart Card
Alan Leewllyn Bivera
 
Study of Java Card and its Application
Study of Java Card and its ApplicationStudy of Java Card and its Application
Study of Java Card and its Application
editor1knowledgecuddle
 
Embedded systems presentation power point.ppt
Embedded systems presentation power point.pptEmbedded systems presentation power point.ppt
Embedded systems presentation power point.ppt
ssuser1b4013
 
What is smart card on tam
What is smart card on tamWhat is smart card on tam
What is smart card on tam
崇倍 洪
 
JAVA CARD BY SAIKIRAN PANJALA
JAVA CARD BY SAIKIRAN PANJALAJAVA CARD BY SAIKIRAN PANJALA
JAVA CARD BY SAIKIRAN PANJALA
Saikiran Panjala
 
eSmartlock - an antipiracy dongle with integrated DRM functionalities
eSmartlock - an antipiracy dongle with integrated DRM functionalitieseSmartlock - an antipiracy dongle with integrated DRM functionalities
eSmartlock - an antipiracy dongle with integrated DRM functionalities
Yiannis Hatzopoulos
 
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
EVALUATION OF ATM FUNCTIONING USING VHDL AND FPGA
VLSICS Design
 
Security's Once and Future King
Security's Once and Future KingSecurity's Once and Future King
Security's Once and Future King
Kapil Sachdeva
 
jCardSim – Java Card is simple!
jCardSim – Java Card is simple!jCardSim – Java Card is simple!
jCardSim – Java Card is simple!
Mikhail Dudarev
 
RFID attendance system
RFID attendance systemRFID attendance system
RFID attendance system
A.k. Goverdhan
 
Inside .NET Smart Card Operating System
Inside .NET Smart Card Operating SystemInside .NET Smart Card Operating System
Inside .NET Smart Card Operating System
SensePost
 
Java Card Security
Java Card SecurityJava Card Security
Java Card Security
Riscure
 
Tu dresden 290404_jcop
Tu dresden 290404_jcopTu dresden 290404_jcop
Tu dresden 290404_jcop
pri18saini
 
Ad

Recently uploaded (20)

Multilingual hand gesture to speech conversion system
Multilingual hand gesture to speech conversion systemMultilingual hand gesture to speech conversion system
Multilingual hand gesture to speech conversion system
Himabindu905359
 
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).pptIntroduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
AshaManjhi
 
Adobe Illustrator CC Crack Version 2025?
Adobe Illustrator CC Crack Version 2025?Adobe Illustrator CC Crack Version 2025?
Adobe Illustrator CC Crack Version 2025?
yousfhashmi786
 
chapter hshs jsjshs sjjsjs kenshs kensh.pptx
chapter hshs jsjshs sjjsjs kenshs kensh.pptxchapter hshs jsjshs sjjsjs kenshs kensh.pptx
chapter hshs jsjshs sjjsjs kenshs kensh.pptx
vvghgjgf
 
linearly separable and therefore a set of weights exist that are consistent ...
linearly separable and therefore a set of weights exist that are consistent  ...linearly separable and therefore a set of weights exist that are consistent  ...
linearly separable and therefore a set of weights exist that are consistent ...
mebibek_hu
 
MiniTool Partition Wizard Professional Edition 10.2.1 Crack
MiniTool Partition Wizard Professional Edition 10.2.1 CrackMiniTool Partition Wizard Professional Edition 10.2.1 Crack
MiniTool Partition Wizard Professional Edition 10.2.1 Crack
yousfhashmi786
 
ppt untuk seminar proposal dan persiapannya
ppt untuk seminar proposal dan persiapannyappt untuk seminar proposal dan persiapannya
ppt untuk seminar proposal dan persiapannya
Rasidinmamakidin
 
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptxADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
c2422429
 
Fonepaw Data Recovery Crack 2025 with key free Download
Fonepaw Data Recovery Crack 2025 with key free DownloadFonepaw Data Recovery Crack 2025 with key free Download
Fonepaw Data Recovery Crack 2025 with key free Download
mampisoren09
 
pharmacology.pdffffffffffffffffffffffffff
pharmacology.pdffffffffffffffffffffffffffpharmacology.pdffffffffffffffffffffffffff
pharmacology.pdffffffffffffffffffffffffff
anooshaazam312
 
hufman coding for compression algorithm.ppt
hufman coding for compression algorithm.ppthufman coding for compression algorithm.ppt
hufman coding for compression algorithm.ppt
alvishi254
 
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtrBiology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
abayamargaug
 
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
hkrishna9495
 
Need of t the thw stuf iobyu hionsbb 9hniosParsing.pptx
Need of t the thw stuf iobyu  hionsbb 9hniosParsing.pptxNeed of t the thw stuf iobyu  hionsbb 9hniosParsing.pptx
Need of t the thw stuf iobyu hionsbb 9hniosParsing.pptx
ParitoshShukla11
 
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
yousfhashmi786
 
Wondershare Filmora Crack Free Download Latest 2025
Wondershare Filmora Crack Free Download Latest 2025Wondershare Filmora Crack Free Download Latest 2025
Wondershare Filmora Crack Free Download Latest 2025
yousfhashmi786
 
>parallel desktop Crack Latest Free 2025 | PPT
>parallel desktop Crack Latest Free 2025 | PPT>parallel desktop Crack Latest Free 2025 | PPT
>parallel desktop Crack Latest Free 2025 | PPT
yousfhashmi786
 
materi semi konduktor untuk belajar elektronika daya
materi semi konduktor untuk belajar elektronika dayamateri semi konduktor untuk belajar elektronika daya
materi semi konduktor untuk belajar elektronika daya
RaidahAuliaMursyid
 
Bone Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
Bone   Tubeoudgkaitaurauraurarhafhau4rculosis.pptxBone   Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
Bone Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
gaisga4er
 
TabulationwjsnnanamamamNananaka of Data.pptx
TabulationwjsnnanamamamNananaka of Data.pptxTabulationwjsnnanamamamNananaka of Data.pptx
TabulationwjsnnanamamamNananaka of Data.pptx
sriyansh4443
 
Multilingual hand gesture to speech conversion system
Multilingual hand gesture to speech conversion systemMultilingual hand gesture to speech conversion system
Multilingual hand gesture to speech conversion system
Himabindu905359
 
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).pptIntroduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
Introduction-to-Robotics-PowerPoint-Presentation-on-Robotics (1).ppt
AshaManjhi
 
Adobe Illustrator CC Crack Version 2025?
Adobe Illustrator CC Crack Version 2025?Adobe Illustrator CC Crack Version 2025?
Adobe Illustrator CC Crack Version 2025?
yousfhashmi786
 
chapter hshs jsjshs sjjsjs kenshs kensh.pptx
chapter hshs jsjshs sjjsjs kenshs kensh.pptxchapter hshs jsjshs sjjsjs kenshs kensh.pptx
chapter hshs jsjshs sjjsjs kenshs kensh.pptx
vvghgjgf
 
linearly separable and therefore a set of weights exist that are consistent ...
linearly separable and therefore a set of weights exist that are consistent  ...linearly separable and therefore a set of weights exist that are consistent  ...
linearly separable and therefore a set of weights exist that are consistent ...
mebibek_hu
 
MiniTool Partition Wizard Professional Edition 10.2.1 Crack
MiniTool Partition Wizard Professional Edition 10.2.1 CrackMiniTool Partition Wizard Professional Edition 10.2.1 Crack
MiniTool Partition Wizard Professional Edition 10.2.1 Crack
yousfhashmi786
 
ppt untuk seminar proposal dan persiapannya
ppt untuk seminar proposal dan persiapannyappt untuk seminar proposal dan persiapannya
ppt untuk seminar proposal dan persiapannya
Rasidinmamakidin
 
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptxADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
ADRENAL CORTbsbsbshEX 3 & 4 - 22MBBS.pptx
c2422429
 
Fonepaw Data Recovery Crack 2025 with key free Download
Fonepaw Data Recovery Crack 2025 with key free DownloadFonepaw Data Recovery Crack 2025 with key free Download
Fonepaw Data Recovery Crack 2025 with key free Download
mampisoren09
 
pharmacology.pdffffffffffffffffffffffffff
pharmacology.pdffffffffffffffffffffffffffpharmacology.pdffffffffffffffffffffffffff
pharmacology.pdffffffffffffffffffffffffff
anooshaazam312
 
hufman coding for compression algorithm.ppt
hufman coding for compression algorithm.ppthufman coding for compression algorithm.ppt
hufman coding for compression algorithm.ppt
alvishi254
 
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtrBiology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
Biology SBK10.pdffgguhjjjjghjtrdrettdryttrdtr
abayamargaug
 
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
00804.pptvjlvpuvupvpyvupv6v07upv60v7vupv0v6p
hkrishna9495
 
Need of t the thw stuf iobyu hionsbb 9hniosParsing.pptx
Need of t the thw stuf iobyu  hionsbb 9hniosParsing.pptxNeed of t the thw stuf iobyu  hionsbb 9hniosParsing.pptx
Need of t the thw stuf iobyu hionsbb 9hniosParsing.pptx
ParitoshShukla11
 
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
AnyDesk 5.2.1 Crack License Key Full Version 2019 {Latest}
yousfhashmi786
 
Wondershare Filmora Crack Free Download Latest 2025
Wondershare Filmora Crack Free Download Latest 2025Wondershare Filmora Crack Free Download Latest 2025
Wondershare Filmora Crack Free Download Latest 2025
yousfhashmi786
 
>parallel desktop Crack Latest Free 2025 | PPT
>parallel desktop Crack Latest Free 2025 | PPT>parallel desktop Crack Latest Free 2025 | PPT
>parallel desktop Crack Latest Free 2025 | PPT
yousfhashmi786
 
materi semi konduktor untuk belajar elektronika daya
materi semi konduktor untuk belajar elektronika dayamateri semi konduktor untuk belajar elektronika daya
materi semi konduktor untuk belajar elektronika daya
RaidahAuliaMursyid
 
Bone Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
Bone   Tubeoudgkaitaurauraurarhafhau4rculosis.pptxBone   Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
Bone Tubeoudgkaitaurauraurarhafhau4rculosis.pptx
gaisga4er
 
TabulationwjsnnanamamamNananaka of Data.pptx
TabulationwjsnnanamamamNananaka of Data.pptxTabulationwjsnnanamamamNananaka of Data.pptx
TabulationwjsnnanamamamNananaka of Data.pptx
sriyansh4443
 

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