asmedel's picture
From asmedel rss RSS  subscribe Subscribe

Developing Smart Card Web Server Applications 



 

 
 
Tags:  java 
Views:  2953
Downloads:  22
Published:  December 20, 2009
 
2
download

Share plick with friends Share
save to favorite
Report Abuse Report Abuse
 
Related Plicks
Java I/O (O'Reilly Java)

Java I/O (O'Reilly Java)

From: anon-390452
Views: 398 Comments: 0
Java I/O (O'Reilly Java) ,free blank ebook covers, garland texas public library, ebook war is a racket, harlan public library
 
java development

java development

From: kelvinberg
Views: 21 Comments: 0

 
java development

java development

From: kelvinberg
Views: 26 Comments: 0

 
JAVA Training Syllabus Course

JAVA Training Syllabus Course

From: neilmodi
Views: 69 Comments: 0
Java programming language which was developed with an initiative to write once and run anywhere is virtually the base of every networked application. Java is one of the most popular programming languages today used for developing mobile applications (more)

 
See all 
 
More from this user
[Finance]Immediate Cash Loans  Urgent Supplier For The Immediate Needs[4357]

[Finance]Immediate Cash Loans Urgent Supplier For The Immediate Needs[4357]

From: asmedel
Views: 2294
Comments: 0

Hospitality Marketing Consulting

Hospitality Marketing Consulting

From: asmedel
Views: 2743
Comments: 0

070-549 Exam Questions & Answers

070-549 Exam Questions & Answers

From: asmedel
Views: 1901
Comments: 0

Waro

Waro

From: asmedel
Views: 2379
Comments: 0

El Pronombre 3

El Pronombre 3

From: asmedel
Views: 2554
Comments: 0

 
See all 
 
 
 URL:          AddThis Social Bookmark Button
Embed Thin Player: (fits in most blogs)
Embed Full Player :
 
 

Name

Email (will NOT be shown to other users)

 

 
 
Comments: (watch)
 
 
Notes:
 
Slide 1: Making Mobility More Secure… Developing real-world smart card web server applications Dr. Vladimir Nagin Managing Director Cellnetrix R&D Center © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 1 • 19/6/2009 Cellnetrix
Slide 2: Contents Smart Card Web Server technology from a developer point of view SIM Application toolkit vs. Smart card web server workflow Typical SCWS procedures and processes Conclusion Cellnetrix © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 2 • 19/6/2009
Slide 3: Some facts about the company • 2006. Cellnetrix was established as an R&D company focused on the software development for smart cards complying with modern requirements for convergence, network connectivity and interoperability • 2007. In order to address global market demands Cellnetrix opened an office in Hamburg, Germany. Company gets an international status with the headquarter based in Germany and R&D center located in Russia 2007. After successful completion of several smart card development projects the company concentrated on solutions which help to make wireless mobility safer and more secure 2008 . Today Cellnetrix delivers to its customers secure software solutions targeted for various mobile networks such as GSM, UMTS or CDMA, as well as WLAN and the Internet and provides professional services for mobile operators, service providers, smart card and software vendors Software and services provided by Cellnetrix are based on open technologies and standards such as OMA, ETSI, 3GPP, ISO, Global platform and active use of Java technologies. © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 3 • 19/6/2009 • • Cellnetrix
Slide 4: Cellnetrix competence domains cellSIM Software for smart cards and secure devices based on Java Card 2.2.1/2.2.2 UICC platform cellOTA Over-the-Air management services for (U)SIM and R-UIM cellApps Value-added applications development enhancing mobile trust and security © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 4 • 19/6/2009 Cellnetrix
Slide 5: Smart card web server and related technologies Dynamic SIM toolkit Smart card web server WAP 2.0 Mobile optimized html/xhtml Different dynamic portal technologies will coexist in the nearest future. Smart card web server has a chance to become a major on-device portal technology owing to operator ownership and control. 2003 2005 WM/Symbian/J2ME on-device portals 2007 2009 © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 5 • 19/6/2009 Cellnetrix
Slide 6: Smart Card Web Server: developer point of view From a developer point of view Smart Card Web Server is seen as a HTTP 1.1 server with extended functionality such as: •Chunked encoding; •Keep-alive connection; •Cache management; •Pipelining; •Authentication; •Servlet support. And available via http://127.0.0.1:3516/ to the outer world; © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 6 • 19/6/2009 Cellnetrix Physically 2 layers can be used to access the server: 1. using ISO7816 and BIP; 2. via USB-IC and Ethernet Emulation Layer in (U)SIM card itself
Slide 7: SCWS Architecture Overview A servlet is a way to generate the dynamic content. It is a Java Card applet registered to the SCWS and mapped to one or several URIs Static content Dynamic content ( servlets ) (U)SIM Toolkit Applets A standardized JavaCard API (ETSI TS 102 588 Release 7) is provided HTTP Web Server Java SCWS API Toolkit API Administrative commands processor Servlets are triggered by SCWS what is similar to SIM toolkit event concept Java VM &JRE TLS layer BIP TCP/IP EEM Native resources File System USB-IC © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 7 • 19/6/2009 Cellnetrix T=0
Slide 8: CAT/USAT Applications Development Workflow *.java files IDE with java level simulation Development and Unit Testing *.cap / *.ijc converted files Download to a physical JC 2.2 card Physical (U)SIM card Testing with real handsets © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 8 • 19/6/2009 Cellnetrix Compilation and conversion Card level simulator Testing with handset emulator APDU-based tests
Slide 9: SCWS Applications Development Workflow Static data *.java files IDE with java level simulation Development and Unit Testing Compilation and conversion Physical (U)SIM card Testing with real handsets © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 9 • 19/6/2009 Cellnetrix Upload to the physical card via Admin session Testing with Internet browsers (IE,Firefox,Opera) Testing with handset emulator Card level simulator Application level testing (HTTP,…) APDU-level testing *.cap / *.ijc converted files (JC 2.2 case) Download to a physical card Transport level testing
Slide 10: Protocol stack for BIP-based SCWS implementation cd Protocol Stack OSI Layers Web Brow ser BIP Proxy SCWS 7: APP 7: HTTP 7: HTTP 7: HTTP 7: HTTP 6: PRES 6: MIME 6: MIME 6: MIME 6: MIME 5: SESS 4,5: TCP 4,5: TCP 4,5: BIP 4,5: BIP 4: TRANSP 3: NET 3: IP 3: IP 1,2,3: ISO 7816 (T=0 or T=1) 1,2,3: ISO 7816 (T=0 or T=1) 2: LINK 1,2: Ethernet 1,2: Ethernet 1: PHY © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 10 • 19/6/2009 Cellnetrix
Slide 11: SCWS Registration SCWS usually makes itself available after receiving Terminal Profile from the handset ad SCWS Operation Terminal profile BIP supported? PROFILE_DONWLOAD [yes] «loop» UICC serv er registration Other initialization End © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 11 • 19/6/2009 Cellnetrix
Slide 12: SCWS Registration ad UICC Serv er Registration The operation is executed for each configured request handler. Usually, if we need to handle N simulatneous requests on M ports, that will require N*M HTTP request handlers each occupying one BIP channel. Listen port number State HTTP Request Handler Max number of channels used? Issue OPEN CHANNEL in UICC Serv er Mode Start Initialize corresponding request handler w ith the BIP channel ID [yes] BIP channel attrs End © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 12 • 19/6/2009 Cellnetrix
Slide 13: SCWS Operation ad SCWS Operation BIP channel ID valid? CHANNEL_STATUS [yes] Channel status change processing End BIP channel attrs HTTP Request Handler BIP channel ID valid? DATA_AVAILABLE [yes] Inbound data processing End © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 13 • 19/6/2009 Cellnetrix
Slide 14: BIP Channel States sm BIP Channel States This state chart shows possible states and transitions for BIP channels operated in UICC server mode. TCP in CLOSED state BIP channel requested Server socket opens SCWS closes connection TCP in LISTEN state Initial TCP handshake successful SCWS closes connection Client closes connection Error Error happens TCP in ESTABLISHED state © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 14 • 19/6/2009 Cellnetrix
Slide 15: Typical SCWS design cd SCWS SCWS ov er BIP One for each request to be served concurrently HTTP Request Handler BIP Ev ent Dispatcher «delegate» BIP I/O Buffer Handler State Channel State «trace» HTTP Request Sink Request Data «delegate» «trace» «trace» Request Processing API «delegate» Request Processing Processor «delegate» Content Provider «delegate» Response Data «delegate» HTTP Response Source «trace» URL Trigger «trace» HTTP Helpers Serv ice Registry List of Content Prov iders Inv oker «delegate» URL Trigger Content Provider AIAPI URL Trigger © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 15 • 19/6/2009 Cellnetrix
Slide 16: Conclusion SCWS technology has a chance to become a major on-device portal solution in the upcoming years if some of main problems are solved: Lack of mobile handsets with SCWS support Despite the strong market demands there are only a few commercial handsets which support SCWS functionality Interoperability problems First trials show that there are some interoperability problems with SCWS handset appearing on the market. There are no automated test suites available to test SCWS implementation both on card and handset side. Expensive roll-out All (U)SIM cards should be exchanged to support new functionality. If SCWS is implemented over TCP performance requirements for (U)SIM cards are higher. Migration path from Dynamic SIM toolkit to SCWS based services Cellnetrix Currently available mobile services based on Dynamic SIM toolkit might be migrated onto SCWS platform. Major SIM toolkit commands such as Setup Call, Send SMS or USSD must be supported. © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 16 • 19/6/2009
Slide 17: Conclusion…. Thank you for your attention! We’re pleased to answer your questions! Cellnetrix R&D Center Yablonevaya alleya, 313a, Zelenograd, Moscow, Russia, 124482 Tel . +7(495) 944-66-90 Fax. +7(495) 536-57-63 Cellnetrix GmbH Holstenkamp 54, D-22525 Hamburg, Germany Tel. + 49 40 891 062 Fax.+ 49 40 891 064 Email: Web: http://www.cellnetrix.com © Cellnetrix 2009 • Developing real-world smart card web server applications • English • 17 • 19/6/2009 Cellnetrix

   
Time on Slide Time on Plick
Slides per Visit Slide Views Views by Location