| |
|
| java.lang.Object com.sun.io.j2me.apdu.Handle
Handle | public class Handle (Code) | | This class represents a handle for APDU connection.
|
Field Summary | |
byte[] | FCI FCI received from selected application. | public int | cardSessionId Unique identifier of card session (period of time between card
power up and powerdown) during which the connection was created. | Slot | cardSlot Slot object. | public int | channel Logical channel number. | int | handleInstance Unique identifier of Handle instance. | boolean | opened | int | slot Slot number. |
Constructor Summary | |
| Handle(int slot, int channel) Creates a new handle with specified parameters. |
Method Summary | |
public byte[] | getATR() Returns ATR of the card. | public int | getCardSessionId() Returns current cardSessionId of the slot. | public byte[] | getFCI() Returns FCI of the selected application. |
FCI | byte[] FCI(Code) | | FCI received from selected application.
|
cardSessionId | public int cardSessionId(Code) | | Unique identifier of card session (period of time between card
power up and powerdown) during which the connection was created.
|
channel | public int channel(Code) | | Logical channel number.
|
handleInstance | int handleInstance(Code) | | Unique identifier of Handle instance.
It is used for debugging purposes.
|
opened | boolean opened(Code) | | Is this connection opened?
|
slot | int slot(Code) | | Slot number.
|
Handle | Handle(int slot, int channel)(Code) | | Creates a new handle with specified parameters.
Parameters: slot - slot number Parameters: channel - channel number |
getATR | public byte[] getATR()(Code) | | Returns ATR of the card.
ATR. |
getCardSessionId | public int getCardSessionId()(Code) | | Returns current cardSessionId of the slot.
cardSessionId. |
getFCI | public byte[] getFCI()(Code) | | Returns FCI of the selected application.
FCI. |
|
|
|