Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Java Card
v2.2.2
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
javacard.framework.APDU

Packages that use APDU
javacard.framework | Provides a framework of classes and interfaces for building, communicating with and working with Java Card technology-based applets.
javacard.framework.service | Provides a service framework of classes and interfaces that allow a Java Card technology-based applet to be designed as an aggregation of service components.

Uses of APDU in javacard.framework

Methods in javacard.framework that return APDU
`static APDU` | `APDU.getCurrentAPDU()` This method is called during the `Applet.process(APDU)` method to obtain a reference to the current `APDU` object.

Methods in javacard.framework with parameters of type APDU
`abstract void` | `Applet.process(APDU apdu)` Called by the Java Card runtime environment to process an incoming APDU command.

Uses of APDU in javacard.framework.service

Methods in javacard.framework.service with parameters of type APDU
`Exception` | `Dispatcher.dispatch(APDU command, byte phase)` Manages the processing of the command in the `APDU` object.
`boolean` | `BasicService.fail(APDU apdu, short sw)` Sets the processing state for the command in the `APDU` object to processed, and indicates that the processing has failed.
`byte` | `BasicService.getCLA(APDU apdu)` Returns the class byte for the command in the `APDU` object.
`byte` | `BasicService.getINS(APDU apdu)` Returns the instruction byte for the command in the `APDU` object.
`short` | `BasicService.getOutputLength(APDU apdu)` Returns the output length for the command in the `APDU` object.
`byte` | `BasicService.getP1(APDU apdu)` Returns the first parameter byte for the command in the `APDU` object.
`byte` | `BasicService.getP2(APDU apdu)` Returns the second parameter byte for the command in the `APDU` object.
`short` | `BasicService.getStatusWord(APDU apdu)` Returns the response status word for the command in the `APDU` object.
`boolean` | `BasicService.isProcessed(APDU apdu)` Checks if the command in the `APDU` object has already been processed.
`void` | `Dispatcher.process(APDU command)` Manages the entire processing of the command in the APDU object input parameter.
`boolean` | `RMIService.processCommand(APDU apdu)` Processes the command within the `APDU` object.
`boolean` | `Service.processCommand(APDU apdu)` Processes the command in the `APDU` object.
`boolean` | `BasicService.processCommand(APDU apdu)` This `BasicService` method is a default implementation and simply returns false without performing any processing.
`boolean` | `Service.processDataIn(APDU apdu)` Pre-processes the input data for the command in the `APDU` object.
`boolean` | `BasicService.processDataIn(APDU apdu)` This `BasicService` method is a default implementation and simply returns false without performing any processing.
`boolean` | `Service.processDataOut(APDU apdu)` Post-processes the output data for the command in the `APDU` object.
`boolean` | `BasicService.processDataOut(APDU apdu)` This `BasicService` method is a default implementation and simply returns false without performing any processing.
`short` | `BasicService.receiveInData(APDU apdu)` Receives the input data for the command in the `APDU` object if the input has not already been received.
`void` | `BasicService.setOutputLength(APDU apdu, short length)` Sets the output length of the outgoing response for the command in the `APDU` object.
`void` | `BasicService.setProcessed(APDU apdu)` Sets the processing state of the command in the `APDU` object to processed.
`void` | `BasicService.setStatusWord(APDU apdu, short sw)` Sets the response status word for the command in the `APDU` object.
`boolean` | `BasicService.succeed(APDU apdu)` Sets the processing state for the command in the `APDU` object to processed, and indicates that the processing has succeeded.
`boolean` | `BasicService.succeedWithStatusWord(APDU apdu, short sw)` Sets the processing state for the command in the `APDU` object to processed, and indicates that the processing has partially succeeded.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help

Java Card
v2.2.2
PREV NEXT | FRAMES NO FRAMES

Copyright © 1993-2005 Sun Microsystems, Inc. 4150 Network Circle,
Santa Clara, CA, 95054, U.S.A. All Rights Reserved.