Method Summary |
|
public boolean | checkSlotNumber(int slot) Checks if the global slot number belongs to the device. |
abstract public void | close() Closes the device. |
public void | closeSlot(int slot) Close the specified slot. |
public void | cmdPowerDown() Performs 'POWER DOWN' command. |
abstract protected int | cmdReset(byte[] atr) Performs reset of device. |
abstract protected int | cmdXfer(byte[] request, byte[] response) Performs data transfer to the device. |
public byte[] | getATR() Gets Answer-To-Reset bytes from the device. |
public int | getSlotCount() Gets number of slots on a device. |
public int | getStartSlotNumber() Gets start slot number in the global slot numbering scheme. |
abstract public void | init() Initializes the device. |
abstract public boolean | isCardChanged() Checks if the card in the selected slot was changed
since last call or since last reset. |
public boolean | isSatSlot(int slotNumber) Checks if this slot is SAT slot. |
abstract public void | lock() Performs platform lock of the device. |
public void | openSlot(int slot, SecurityToken token) Open the specified slot. |
public void | reset() Resets the device. |
abstract public void | selectSlot(int slot) Selects the current slot for the subsequent transfer operations. |
public void | setStartSlotNumber(int slot) Stores start slot number. |
abstract public void | unlock() Unlocks the device. |
public int | xfer(byte[] request, byte[] response) Performs data transfer to the device. |