Java Card 3 Platform Programming Notes
Table of Contents
Expand | Collapse- Title and Copyright Information
- Preface
- Audience
- Before You Read This Book
- How This Document Is Organized
- Documentation Accessibility
- Related Documents
- Conventions
- 1 Object, Package and Applet Deletion
- Object Deletion Mechanism
- Requesting the Object Deletion Mechanism
- Object Deletion Mechanism Usage Guidelines
- Package and Applet Deletion
- Developing Removable Packages
- Writing Removable Applets
- The AppletEvent.uninstall Method
- 2 Working with Logical Channels
- Dual Interface Cards
- Applets and Logical Channels
- Non-MultiSelectable Applets
- The MultiSelectable Interface
- Selection for MultiSelectable Applets
- Deselection for MultiSelectable Applets
- Writing Applets for Concurrent Logical Channels
- MultiSelectable Applet Example
- Handling Channel Information on APDU Commands
- Interindustry Space
- Proprietary Java Card Technology Space
- Logical Channels
- APDU Command Type Identification
- Writing ISO/IEC 7816-4:2013 Compliant Applets
- ISO/IEC 7816-4:2013 Compliant Applet Example
- Non-MultiSelectable Applets and Shareable Objects
- ISO/IEC 7816-4:2013 Specific APDU Commands for Logical Channel Management
- MANAGE CHANNEL OPEN
- MANAGE CHANNEL CLOSE
- SELECT FILE
- 3 Developing RMI Applications for the Java Card Platform
- Steps to Develop an RMI Applet for the Java Card 3 Platform
- Generating Stubs
- Running a Java Card RMI Applet
- RMI Program Example
- Main Program
- Implement a Remote Interface
- Define the Constructor for the Remote Object
- Provide an Implementation for Each Remote Method
- Sample Applet
- Preparing and Registering the Remote Object
- Processing the Incoming Commands
- Client Example
- Initializing and Shutting Down the Card Connection
- Creating and Using a CardAccessor Object
- Selecting the Java Card Applet and Obtaining the Initial Reference
- Using Remote Objects in Remote Method Invocations
- Generate the Stubs
- Card Terminal Interaction
- Add Security Support
- Initialize a Security Service
- Use the Service to Check the Current Security Status
- Security Service Example
- More Secure Applet
- Client Changes to Support Security
- CustomCardAccessor Class for Authentication and Signing
- 4 Using Extended APDU
- Extended APDU Nominal Cases
- Extended APDU Format
- Extended APDU Limits
- javacardx.framework.ExtendedLength Interface
- APDU Parsing with the javacard.framework.APDU Class
- Creating an Applet That Can Send and Receive Extended Length APDUs
- Glossary