Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0

Get PDF Book Print View

Document Information

Getting Started

Java ME Platform SDK Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Lightweight UI Toolkit

Security and MIDlet Signing

BD-J Support

CLDC Emulation on a Windows Mobile Device

Installing CLDC Emulation on a Windows Mobile Emulator

On-device Debugging

Command Line Reference

Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

Card Slots in the Emulator

Java Card Platform Simulator (cref)

Adjusting Access Control

Specifying PIN Properties

Specifying Application Permissions

Access Control File Example

Running SATSADemos

APDUMIDlet

SATMIDlet

CryptoMIDlet

MohairMIDlet

Running SATSAJCRMIDemo

JSR 179: Location API Support

JSRs 184, 226, and 239: Graphics Capabilities

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 238: Mobile Internationalization API (MIA)

JSR 229: Payment API Support

JSR 256: Mobile Sensor API Support

Index

MohairMIDlet

MohairMIDlet has two functions. The first, “Find slots”, displays all the available card slots. Each slot has a number followed by ‘C’ or ‘H’ indicating whether the slot is cold-swappable or hot-swappable. After viewing the slots select Back to return to the first screen.

The second part of MohairMIDlet, SATSA-PKI Sign test, uses a smart card to generate a digital signature. As with the earlier demonstrations, you need to run cref with the right memory image to prepare for the connection from MohairMIDlet.

  1. Right-click on the project, select Properties, and choose Running. Enable Regular execution and check Specify the Security Domain. Choose maximum from the list.

  2. Type the following from the SDK installation directory:

    start bin\cref -i apps\SATSADemos\sat.eeprom

  3. In the emulator, select SATSA-PKI Sign test. The following confirmation message appears:

    This certificate will be used: MohairAuth

    Select the OK soft key.

  4. For PIN 1, type: 1234

    Select the OK soft key. The following confirmation message appears:

    This string will be signed: JSR 177 Approved

  5. Select the OK soft key. The following confirmation message appears:

    This certificate will be used: MohairAuth

    Select the OK soft key.

  6. For non repudiation key 1 PIN, type: 2345

    Select the soft menu and choose OK (option 2).