| 
 | Java Card v2.2.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 currentAPDUobject. | 
| 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 APDUobject. | 
|  boolean | BasicService.fail(APDU apdu,
     short sw)Sets the processing state for the command in the APDUobject
 to processed, and indicates that the
 processing has failed. | 
|  byte | BasicService.getCLA(APDU apdu)Returns the class byte for the command in the APDUobject. | 
|  byte | BasicService.getINS(APDU apdu)Returns the instruction byte for the command in the APDUobject. | 
|  short | BasicService.getOutputLength(APDU apdu)Returns the output length for the command in the APDUobject. | 
|  byte | BasicService.getP1(APDU apdu)Returns the first parameter byte for the command in the APDUobject. | 
|  byte | BasicService.getP2(APDU apdu)Returns the second parameter byte for the command in the APDUobject. | 
|  short | BasicService.getStatusWord(APDU apdu)Returns the response status word for the command in the APDUobject. | 
|  boolean | BasicService.isProcessed(APDU apdu)Checks if the command in the APDUobject 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 APDUobject. | 
|  boolean | Service.processCommand(APDU apdu)Processes the command in the APDUobject. | 
|  boolean | BasicService.processCommand(APDU apdu)This BasicServicemethod 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 APDUobject. | 
|  boolean | BasicService.processDataIn(APDU apdu)This BasicServicemethod 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 APDUobject. | 
|  boolean | BasicService.processDataOut(APDU apdu)This BasicServicemethod 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 APDUobject 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 APDUobject. | 
|  void | BasicService.setProcessed(APDU apdu)Sets the processing state of the command in the APDUobject to
 processed. | 
|  void | BasicService.setStatusWord(APDU apdu,
              short sw)Sets the response status word for the command in the APDUobject. | 
|  boolean | BasicService.succeed(APDU apdu)Sets the processing state for the command in the APDUobject
 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 APDUobject
 to processed, and indicates that the
 processing has partially succeeded. | 
| 
 | Java Card v2.2.2 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||