Development Kit User’s Guide
Java Card 3 Platform, Version 3.0.3
Classic Edition
October-2010
|
Contents |
Part I Setup, Samples and Tools
Java Card 3 Platform Architecture
2. Developing Classic Edition Applications
Classic Applet Development Process
Prerequisites to Installing the Development Kit
Install and Setup the Development Kit

Downloading the Development Kit

Setting Up the System Variables
Installed Files and Directories
Contents of the Source Release
Uninstalling the Development Kit
General Procedures for Building and Running the Samples
Building and Running the Samples
Running the classic_applets Samples
SignatureMessageRecovery Sample
Message Recovery Order of Operations
Running the reference_apps Samples

Run the JavaPurseCrypto Sample
5. Converting and Exporting Java Class Files
Using Delimiters with Command Line Options
Using a Command Configuration File
Output File Naming Conventions
Verification of Input and Output Files
Creating a debug.msk Output File
Viewing an Export File as Text
6. Compatibility for Classic Applets
Generating Application Modules From Classic Applets
Generating a CAP File From a Java Card Assembly File
Producing a Text Representation of a CAP File
8. Packaging and Deploying Your Application
Installer Components and Data Flow
Directing Output to the Console
APDUScript Preprocessor Commands
Downloading CAP Files and Creating Applets
On-card Installer APDU Protocol
APDU Responses to Installation Requests
Using the On-card Installer for Deletion
How to Send a Deletion Request
APDU Requests to Delete Packages and Applets
APDU Responses to Deletion Requests
9. Using the Reference Implementation
Obtaining Resource Consumption Statistics
Getting Resource Statistics With the PhotoCard Sample
Working With EEPROM Image Files
Same Input and Output EEPROM Image File
Different Input and Output EEPROM Image Files
10. Producing a Mask File from Java Card Assembly Files
Order of Packages on the Command Line
Version Numbers for Processed Packages
11. Building a Custom RI From Sources
Steps for Building a Custom RI
12. Verifying CAP and Export Files
Verifying Binary Compatibility
Command Line Options for Off-Card Verifier Tools
Part II Programming With the Development Kit
13. Using Cryptography Extensions
Supported Cryptography Classes
14. Localizing With The Development Kit
Localization Support for Java Utilities
Localizing a Java Program to a New Locale
15. Programming to the Java Card RMI Client-Side API
APDU I/O Classes and Interfaces
To Establish a T=0 Connection To a Card
To Power Up And Power Down the Card
17. Programming for the Large Address Space
Programming Large Applications and Libraries
Handling a Package as a Separate Code Space
Example: The photocard Demo Applet
A. Java Card Assembly Syntax Example
B. Additional Optional Ant Tasks

Setting Up the Optional Ant Tasks
Parameters Specified As Nested Elements
Parameters Specified As Nested Elements
Parameters Specified As Nested Elements
Parameters Specified As Nested Elements
Parameters Specified As Nested Elements
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.