Leanpub Header

Skip to main content

Smart Card Application Development

Building Secure Applications for ISO/IEC 7816 and ISO/IEC 14443 Systems

This book is 100% completeLast updated on 2026-08-07

Smart cards power secure payments, digital identity and trusted authentication around the world. This book is a practical guide to building secure applications for ISO/IEC 7816 and ISO/IEC 14443 systems with real code, hands-on examples and proven development practices.

Minimum price

$19.00

$29.00

You pay

Author earns

$

Also available for 1 book credit with a Reader Membership

PDF
EPUB
WEB
APP
215
Pages
About

About

About the Book

Smart cards remain one of the most trusted platforms for secure data storage, cryptographic operations, and identity management in constrained environments. From payment systems processing billions of transactions annually to government-issued identity documents securing border crossings, smart card technology underpins critical infrastructure worldwide. This book provides a complete technical guide to developing applications for contact, contactless, and dual-interface smart cards using the ISO/IEC 7816 and ISO/IEC 14443 standards. You will learn to design, implement, test, and deploy production-quality applications on Java Card, GlobalPlatform, SIM/UICC platforms, and embedded secure elements. Every chapter includes complete working code examples in multiple programming languages, detailed protocol specifications, real-world case studies, and security best practices drawn from current industry implementations. Whether you are building EMV payment applications, FIDO2 security keys, transit ticketing systems, or IoT device authentication solutions, this book serves as both a practical development guide and an authoritative reference for smart card engineering.

Author

About the Author

Steve Publications

Steve is a technology professional with more than 20 years of experience in software development, server infrastructure, cybersecurity, vulnerability research and reverse engineering. Throughout his career, he has designed, secured, analyzed and tested complex software and infrastructure, with a particular focus on understanding how systems fail and how they can be made more secure.

Outside of work, Steve enjoys sharing knowledge with the technology community. He collaborates with researchers, industry experts and technology professionals to write practical books covering software development, cybersecurity, cloud computing, networking, DevOps, artificial intelligence and enterprise technologies. His books focus on practical learning through clear explanations, real-world examples and hands-on exercises. With more than two decades of industry experience, his goal is to help IT professionals, students and technology enthusiasts build useful skills and stay current in a rapidly changing industry.

We believe readers deserve to know how our books are created. Most of our authors are not native English speakers, so we use AI to help translate, proofread manuscripts, fix grammar, improve sentence structure and make technical explanations easier to read. AI is used as an editing tool only. It does not replace the research, technical knowledge or hands-on experience behind our books. Some of our authors also prefer to remain anonymous for privacy or professional reasons. In those cases, we publish their work under a different name. The author's name may be different, but the quality of the content and our review process remain the same.

Every book is written, reviewed and maintained by experienced technology professionals, with contributions from our private technical community of more than 420 engineers and researchers. We spend far more time validating technical accuracy and keeping our content up to date than generating text. We are always interested in working with experienced professionals who have deep expertise in a particular technology or domain. If you would like to publish a book with us or help review an existing manuscript, we'd love to hear from you. Send us a message describing your area of expertise. We are especially interested in niche technologies, specialized skills and emerging topics that are underrepresented in existing technical literature.

If you look through the contents of our books, you'll see practical examples, detailed explanations and material that is regularly updated. Our goal is to publish books that professionals can actually rely on, not low-effort AI-generated content. If you ever feel that one of our books does not meet that standard, Leanpub offers a 60-day money-back guarantee. Feel free to request a refund if you are not satisfied with your purchase.

Contents

Table of Contents

Building Secure Applications for ISO/IEC 7816 and ISO/IEC 14443 Systems

Chapter 1: Introduction to Smart Cards

  1. What Is a Smart Card
  2. A Brief History of Smart Card Technology
  3. Types of Smart Cards: Contact, Contactless, Dual-Interface
  4. Smart Cards vs Other Security Tokens
  5. Where Smart Cards Are Used Today

Chapter 2: Smart Card Hardware and Architecture

  1. Physical Form Factors and Standards
  2. Chip Architecture and Components
  3. Memory Models: EEPROM, Flash, RAM
  4. Power Delivery and Voltage Domains
  5. Secure Elements and Embedded Security Chips
  6. Hardware Security Features

Chapter 3: Communication Protocols and Interfaces

  1. ISO/IEC 7816 Contact Interface Standard
  2. ISO/IEC 14443 Contactless Standard
  3. ISO/IEC 15693 and Other Contactless Standards
  4. T=0, T=1, and T=CL Transmission Protocols
  5. PC/SC and CCID Host Interfaces
  6. NFC Communication Layers

Chapter 4: APDU Protocol Deep Dive

  1. APDU Structure and Fields
  2. Command APDUs: Classes, Instructions, Parameters
  3. Response APDUs and Status Words
  4. Extended-Length APDUs
  5. Command Chaining and Segmentation
  6. Logical Channels and File Selection
  7. Secure Messaging with APDUs

Chapter 5: Smart Card Operating Systems

  1. The Role of the Card Operating System
  2. Java Card Architecture and Runtime Environment
  3. GlobalPlatform Card Specification
  4. SIM and UICC Operating Systems
  5. File System Organization
  6. Application Lifecycle Management

Chapter 6: Cryptography for Smart Cards

  1. Symmetric Cryptography on Smart Cards
  2. Asymmetric Cryptography and Key Sizes
  3. Hash Functions and Message Authentication
  4. Random Number Generation Requirements
  5. Key Generation, Storage, and Diversification
  6. Certificate Management and PKI Integration

Chapter 7: Security Mechanisms and Threat Models

  1. The Smart Card Security Model
  2. Physical Attacks and Tamper Resistance
  3. Side-Channel Attacks and Countermeasures
  4. Protocol-Level Attacks
  5. Fault Injection and Glitching
  6. Application-Level Security Best Practices

Chapter 8: Development Environment Setup

  1. Card Readers and Hardware Setup
  2. PC/SC Installation and Configuration
  3. Java Card Development Kit Setup
  4. GlobalPlatformPro and GPShell Configuration
  5. Emulators and Simulators
  6. APDU Analysis and Debugging Tools

Chapter 9: Application Development Fundamentals

  1. Java Card Applet Development Basics
  2. Building Your First Applet
  3. Communicating with Cards from Host Applications
  4. File System Operations
  5. Basic Authentication Flows
  6. Error Handling and Status Word Management

Chapter 10: Advanced Application Development

  1. Implementing Secure Messaging Channels
  2. GlobalPlatform SCP02 Secure Channels
  3. Multi-Application Card Design
  4. Transaction Management and Rollback
  5. Memory Optimization Techniques
  6. Performance Profiling and Tuning

Chapter 11: Specialized Application Domains

  1. EMV Payment Applications
  2. SIM, UICC, and eSIM Applications
  3. Identity Cards and Digital Certificates
  4. Transit and Ticketing Systems
  5. Access Control and Building Security
  6. Healthcare and Medical Smart Cards
  7. IoT Device Authentication

Chapter 12: Integration Across Platforms

  1. Desktop Integration with PC/SC
  2. Mobile NFC and Smart Card Access
  3. Server-Side Smart Card Communication
  4. Embedded System Integration
  5. Cloud-Based Personalization Systems
  6. HSM and Secure Element Integration

Chapter 13: Testing, Certification, and Deployment

  1. Unit Testing Smart Card Applications
  2. Integration and Interoperability Testing
  3. GlobalPlatform Certification Requirements
  4. EMV Certification Process
  5. Card Personalization Pipelines
  6. Application Updates and Version Management
  7. Production Monitoring and Troubleshooting

Chapter 14: Real-World Case Studies

  1. Building a Payment Token System
  2. Implementing FIDO2 Security Keys
  3. Designing a Transit Ticketing Platform
  4. Corporate Identity and Access Management
  5. IoT Device Provisioning with Secure Elements

Conclusion

References

Get the free sample chapters

Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub