Motorola maxx V6 manual Draft Subject to Change 92/201, Errors While Using Apdu Connection

Models: maxx V6

1 201
Download 201 pages 31.32 Kb
Page 92
Image 92

Java ME Developer Guide

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

prompts the user to enter the current value of the PIN, for verification purposes.

Interface APDUConnection implements method ￿￿￿￿￿￿￿￿￿￿￿￿.

When a MIDlet calls method

￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿, the implementation prompts the user to enter the value of the unblocking PIN (PIN used to unblock other PINs), the new value for the currently blocked PIN, and to re-enter the new value for the currently blocked PIN.

The implementation communicates the entered PIN value(s) to the card over the APDU connection, and returns the smart cardstatus, or NULL if the user canceled the operation.

Interface APDUConnection implements method ￿￿￿￿￿￿￿￿.

When a MIDlet calls method ￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿, the implementation returns the retrieved value of ATR from the smart card.

When a MIDlet calls method ￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿, the implementation returns NULL if the smart card is not present.

When a MIDlet calls method ￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿￿, the implementation returns NULL if the APDU connection was already closed.

If response '61 XX' is received from the smart card, the implementation sends GET RESPONSE to the card to get the response data before any other command is sent.

If response '6C XX' is received from the smart card, the implementation resends the command after setting "Le" equal to XX received from the smart card before any other command is sent.

Errors While Using APDU Connection

If a MIDlet attempts to exchange APDUs and the connection was closed before the method was called or because of communication problems, the implementation

DRAFT - Subject to Change [92/201]

Page 92
Image 92
Motorola maxx V6 manual Draft Subject to Change 92/201, Errors While Using Apdu Connection