what is smart card on tam

29
What is Smart Card 1 Taiwan Applied Module Corp. What is Smart Card ?? 洪 洪 洪 / Otto Hung

Upload: -

Post on 08-Jan-2017

73 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: What is smart card on tam

What is Smart Card 1

Taiwan Applied Module Corp.

What is Smart Card ??

洪 崇 倍 / Otto Hung

Page 2: What is smart card on tam

What is Smart Card 2Taiwan Applied Module Corp.

What is a smart card

A credit card size plastic with a single IC chip on board and conforms with ISO-7816 and ISO 14443

comprises of 3 parts contact disc chip plastic body with cavity

Page 3: What is smart card on tam

What is Smart Card 3Taiwan Applied Module Corp.

Application

Source: http://www.smartcard.bull.com/

Page 4: What is smart card on tam

What is Smart Card 4Taiwan Applied Module Corp.

Categories of Smart Cards Memory Cards

Containing a memory chip (several K bits) with hardwired logic,

mostly used as prepaid cards, low cost.

Microprocessor Cards (our focus for this topic) like small portable computers (without keyboard or

monitor screen), increased security capabilities, can integrate several applications.

Page 5: What is smart card on tam

What is Smart Card 5Taiwan Applied Module Corp.

Categories of Smart Cards (cont.)

Contact Cards must be inserted into a card reader or terminal (Card

Acceptance Device), more commonly used

Contact-less Cards Can function when placed close enough to the

terminal, Ideal for fast transactions, not easily worn out, can be of different physical sizes, transmitted data can be intercepted

Dual-Interface Cards

Page 6: What is smart card on tam

What is Smart Card 6Taiwan Applied Module Corp.

EEPROM : EEPROM : 100 ~ 4 KB 100 ~ 4 KB BitsBits

Decode

LOGICI/O

EEPROM

POWERPOWER(Vcc)(Vcc)

CLOCKCLOCK

RESETRESET

GROUNDGROUND(Vss)(Vss)

I/OI/O

Architecture of Memory Card Hard Wired Logic EEPROM Only Synchronous Prot. Non Standardized

Page 7: What is smart card on tam

What is Smart Card 7Taiwan Applied Module Corp.

Architecture of CPU Card Asynchronous card

(slow data transfer) 8 –32 bit µP 4 – 20 Mhz Clock High Security Medium large Size

(10 to 32 mm²)

RAM : Hundreds Bytes (Working Memory)

ROM : 6 ~ 96 KB(Card Operating System)

EEPROM : 1 ~ 64 KB(Application Memory)

µP

LOGICRAM

EEPROM

ROM

POWER(Vcc)

CLOCK

RESET

GROUND(Vss)

I/O

RFU (Vpp)

Page 8: What is smart card on tam

What is Smart Card 8Taiwan Applied Module Corp.

CPU ROM EEPROM WDT RNG

串列界面 RF 界面 RSA加密器 DES加密器安全保護線路

Bus Access Control

RAM

PLL

Hardware Block Diagram

Page 9: What is smart card on tam

What is Smart Card 9Taiwan Applied Module Corp.

Standards and Specifications Interface

Contact, ISO 7816 Contact-Less, ISO 14443

(U) SIM card-related specifications ETSI GSM 11 series, 3GPP 03 Series

Payment systems EMV 2000, etc..

Card Acceptance Device PC/SC for interoperability between smart cards and PCs OpenCard Framework (OCF) similar to PC/SC, implemented in Java

Page 10: What is smart card on tam

What is Smart Card 10Taiwan Applied Module Corp.

Smart Card Communication Model Commands and Response messages

are contained in APDU Command, Application Protocol Data Unit (C_APDU and R_APDU).

Command APDU

Response APDU

Processing

Page 11: What is smart card on tam

What is Smart Card 11Taiwan Applied Module Corp.

Classify of APDU Command Case 1, no command/no response data

Case 2, no command data

Case 3, no response data

Case 4

Header swHeader Le Data swHeader Lc Data swHeader Lc Data Le Data sw

Page 12: What is smart card on tam

What is Smart Card 12Taiwan Applied Module Corp.

Transmit of OSI-Reference

Physical

Data Link

Transport

Application

Physical

Data Link

Transport

Application

ICC CAD

APDU

ISO 7816, ISO

14443

TPDUT=0, T=1 and T-

CL

Contact Contact-

Less

Page 13: What is smart card on tam

What is Smart Card 13Taiwan Applied Module Corp.

TPDU Format Data structure exchanged by using TPDU,

Transaction Protocol Data Unit T=0, byte oriented

T=1, Block oriented

T=CL

P3 DataP2P1INSCLA

Prologue Information EpilogueNAD PCB LEN Information field EDC/CRC1 1 1 0 ~ 254 1 or 2

Prologue Information EpiloguePCB [CID] [NAD] Information field CRC1 1 1 0 ~ 254 2

Page 14: What is smart card on tam

What is Smart Card 14Taiwan Applied Module Corp.

T=0 TPDU Command

CLA INS P1 P2 LinPB

Data-Insw1sw2

READER

CARD

CLA INS P1 P2 LinPB Data-Outsw1sw2

READER

CARD

ISO-IN

ISO-OUT

Page 15: What is smart card on tam

What is Smart Card 15Taiwan Applied Module Corp.

T=1 TPDU Command Supervisor Block Ready Block Information Block

ISO-IN

ISO-OUT

ISO-IN&OUTCLA INS P1 P2 Le sw2Data-Outsw1

CLA INS P1 P2 Lc Data-In sw2sw1

CLA INS P1 P2 Lc Data-In Le sw2sw1Data-Out

Page 16: What is smart card on tam

What is Smart Card 16Taiwan Applied Module Corp.

About Smart Card Software Smart card system

Host (Terminal )system + Card system

Smart card operating systems are typically file system-centric (based on ISO 7816-4)

Most conventional card applications involve just file manipulations (select, deselect, read, write)

Software development involves (1) operating system providers, (2) card terminal vendors, (3) application developers, and (4) card issuers

Page 17: What is smart card on tam

What is Smart Card 17Taiwan Applied Module Corp.

Chip Card File System Most smart card operating systems are typically File System-Centric

based on ISO 7816-4MF

Level #0

DFLevel #1

DFLevel #1

DFLevel #2

DFLevel #2

EF

EFEF

EF

EFEF

Page 18: What is smart card on tam

What is Smart Card 18Taiwan Applied Module Corp.

File Structures (1/3)Header

System Information

Body

Application DataSequence Of Byte

Header

System Information

BodyRecord #1

Record #2

Record #3

Last Record #N

Rest of records

TRANSPARENT FILE LINEAR FIXED FILE

Page 19: What is smart card on tam

What is Smart Card 19Taiwan Applied Module Corp.

File Structures (2/3)

LINEAR VARIABLE FILE

Header

System Information

Record #1 Record #2

Record #P

Record#3

Record

Last#N

Rest of the records

Body

Header

System Information

BodyRecord #1

Record #2

Record #3

Last Record #N

Rest of records

CYCLIC FILE

Page 20: What is smart card on tam

What is Smart Card 20Taiwan Applied Module Corp.

File Structures (3/3)

BER-TLV FILE

Header

System Information

Data #1Body

Data #2

Data #3

Rest of data..

Data #NTag Length Value

Page 21: What is smart card on tam

What is Smart Card 21Taiwan Applied Module Corp.

Card Operating Systems (COS) Traditional O.S.

only one application or special application Open system O.S.

for multi application or non-specific application Java Card Operating System MultiOS Card Operating System Smart Card for Windows Global Open Platform

Page 22: What is smart card on tam

What is Smart Card 22Taiwan Applied Module Corp.

Multi-Application Cards New data and new command can be

added!! Base on “Open OS”

Microprocessor

Virtual MachineAPI

EEPROM

Data Code

Stored value applet

Data Code

loyal applet

Page 23: What is smart card on tam

What is Smart Card 23Taiwan Applied Module Corp.Source: http://www.smartcard.bull.com/

Realizing the Multiple-Application Vision

Page 24: What is smart card on tam

What is Smart Card 24Taiwan Applied Module Corp.

Benefits of Open OS Interoperability Secure loading of applets into card, even

after issuance An existing field application can be ported

onto a multi-application card, without changing the terminal software

Firewalls between applets confidentiality of data

Applet develop in high level language (java, C, …) very quick time to market

Page 25: What is smart card on tam

What is Smart Card 25Taiwan Applied Module Corp.

CPU + crypto

Operating SystemROM Operating System

ApplicationA

ApplicationB

file structure

EEPROM EE

PROM

Filestructure

Java Interpreter

ROM

ROM

Java Card API

VirtualMachine

EEPROM

EEPROM

Hardwareindependant

Hardwaredependant

Java Card Operate System

Page 26: What is smart card on tam

What is Smart Card 26Taiwan Applied Module Corp.

UICC Card Application Platform

SIM

SIM Application Toolkit (SAT)

Banking Location Browse

r SIM-WIM

The UICC -the multi-application platform separation of layers and

applications logical channels to run

applications in parallel

The SIM - a "mono-application" card SIM according to GSM 11.11 applications based on SIM

Application Toolkit WIM as exception

(own command set and triggered by WAP browser)

UICC

OthersEMV

USIM SIMElectronic

PursePhonebook

(U)SAT

GSM Purse

eHealth

Page 27: What is smart card on tam

What is Smart Card 27Taiwan Applied Module Corp.

Global Open Platform Card Architecture

Java Card WfSCVM & API

Proprietary Card VendorOS

WfSCO.S.

Open PlatformAPI

Open platformCard Manager

VisaCash

VisaSmartCredit

VisaSmartDebit

E-Comm Loyalty Loyalty

OR

Issuer Choice of Applications

Page 28: What is smart card on tam

What is Smart Card 28Taiwan Applied Module Corp.

Definition of Card’s Life Cycle Blank Cards Pre-Personalized

Cards Personalized Cards Dead Cards

Card

O.S.

FILE STRUCTURE

USER DATA

Page 29: What is smart card on tam

What is Smart Card 29Taiwan Applied Module Corp.

IC 卡之產業分工系統發展 打線封裝 圖稿設計 版面印刷 壓合沖卡

挖孔植晶電氣入碼圖像顯示防護處理成卡運送

晶片設計 晶片生產

•系統發展技術•密碼軟體能力•硬體平台整合•量產製程能量•設備操作經驗

•品質保證機制•安全控管機制•發卡金鑰系統•資料庫管理系統•全壽期管理系統•資料蒐整經驗•發卡運送機制•合約管理經驗•系統整合能力•系統加值服務

前端加值服務公司

IC 卡生產工廠

•系統維護能量•客服中心維運•衍生應用發展•潛在商機發掘•全壽期管理營運

主要商機領域身份識別應用無線通訊商機金融付費機制消費娛樂市場大眾運輸系統軍事安全用途

多功能智慧卡應用衍生商機