Motorola maxx V6 manual Draft Subject to Change 95/201, Java.lang Package Exception Classes

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 95
Image 95

Java ME Developer Guide

Chapter 12 - JSR-177 Java ME Security and Trust Services API

A MIDlet uses ENVELOPE APDUs only, to communicate with the (U)SAT application.

If a MIDlet uses any APDU other than ENVELOPE APDU, the implementation throws

￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿ exception.

In the case of a SIM (GSM) smart card, the implementation substitutes the class byte passed by the MIDlet with value 'A0'.

In the case of a USIM (UMTS) smart card, the implementation substitutes the class byte passed by the MIDlet with value '80'.

When (U)SIM responds with status word "9E XX"or "9F XX", the behavior of AP- DUConnection is the same as when status word "61 XX" is received from the smart card.

When (U)SIM responds with status word "62 XX" or "63 XX" the implementation sends GET RESPONSE to the card, with Le set to "00" before any other command is sent.

The implementation ensures that between sending the ENVELOPE APDU, receiving status word "62 XX" or "63 XX", and sending GET RESPONSE APDU with Le set to "00", there will not be any other APDU exchange on any logical channel with the smart card.

The implementation throws ￿￿￿￿￿￿￿￿￿￿￿ exception if (U)SIM responds with status word "93 00" (SIM Application Toolkit is busy) when the (U)SIM is performing an- other proactive session.

12.3.2 java.lang Package (Exception Classes)

The package provides classes that are fundamental to the design of the Java pro- gramming language.

Class ￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿ is implemented, as specified in java.lang package.

12.3.3 Recommended Security Element Access

DRAFT - Subject to Change [95/201]

Page 95
Image 95
Motorola maxx V6 Draft Subject to Change 95/201, Java.lang Package Exception Classes, Recommended Security Element Access