Debugging and Rapid Prototyping of NFC Secure Element Applications

  • Michael Roland
Conference paper
Part of the Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering book series (LNICST, volume 130)


The ecosystem behind secure elements is complex and prevents average developers from creating secure element applications. In this paper we introduce concepts to overcome these issues. We develop two scenarios for open platforms emulating a secure element for the Android platform. Such an open emulator can be used for debugging and rapid prototyping of secure element applications. Moreover, by trading the secure element’s security and trust for openness, such a platform can be used as a replacement for the secure element for long-term testing and for showcasing of applications.


Near Field Communication Secure Element Java Card Rapid prototyping Debugging Testing 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Balaban, D.: Telcos Close Ranks as Google Threat Looms. NFC Times Blog (July 2011),
  2. 2.
    Balaban, D.: With Launch of Google Wallet, the Wallet War Begins. NFC Times Blog (June 2011),
  3. 3.
    Barbu, G., Giraud, C., Guerin, V.: Embedded Eavesdropping on Java Card. In: Gritzalis, D., Furnell, S., Theoharidou, M. (eds.) SEC 2012. IFIP AICT, vol. 376, pp. 37–48. Springer, Heidelberg (2012)CrossRefGoogle Scholar
  4. 4.
    Dudarev, M.: jCardSim – Java Card is simple! Presentation at JavaOne Russia (April 2013),
  5. 5.
    Elenkov, N.: Emulating a PKI smart card with CyanogenMod 9.1. Android Explorations (October 2012),
  6. 6.
    Mostowski, W., Poll, E.: Malicious Code on Java Card Smartcards: Attacks and Countermeasures. In: Grimaud, G., Standaert, F.-X. (eds.) CARDIS 2008. LNCS, vol. 5189, pp. 1–16. Springer, Heidelberg (2008)CrossRefGoogle Scholar
  7. 7.
    RIM: Blackberry API 7.0.0: Package (2011),
  8. 8.
    Roland, M.: Software Card Emulation in NFC-enabled Mobile Phones: Great Advantage or Security Nightmare? In: 4th International Workshop on Security and Privacy in Spontaneous Interaction and Mobile Phone Use, Newcastle, UK (June 2012),
  9. 9.
    Roland, M.: Security Issues in Mobile NFC Devices. Ph.D. thesis, Johannes Kepler University Linz, Department of Computational Perception (January 2013)Google Scholar
  10. 10.
    SEEK for Android: AddonTerminal: How to create an Addon Terminal (May 2012),
  11. 11.
    SIMalliance: Open Mobile API specification (June 2012)Google Scholar
  12. 12.
    Sun Microsystems, Inc.: Java Card Platform: Runtime Environment Specification, Version 2.2.2 (March 2006)Google Scholar
  13. 13.
    Sun Microsystems, Inc.: Java Card Platform: Virtual Machine Specification, Version 2.2.2 (March 2006)Google Scholar
  14. 14.
    Yeager, D.: Added NFC Reader support for two new tag types: ISO PCD type A and ISO PCD type B. Patches to the CyanogenMod aftermarket-firmware for Android devices (January 2012),

Copyright information

© ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering 2014

Authors and Affiliations

  • Michael Roland
    • 1
  1. 1.NFC Research Lab HagenbergUniversity of Applied Sciences Upper AustriaAustria

Personalised recommendations