| Package | Description |
|---|---|
| javax.smartcardio |
Java™ Smart Card I/O API
|
| Modifier and Type | Class and Description |
|---|---|
class |
CardNotPresentException
Exception thrown when an application tries to establish a connection with a terminal that has no card present.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
Card.beginExclusive()
Requests exclusive access to this card.
|
abstract void |
CardChannel.close()
Closes this CardChannel.
|
abstract Card |
CardTerminal.connect(String
Establishes a connection to the card.
|
abstract void |
Card.disconnect(boolean reset)
Disconnects the connection with this card.
|
abstract void |
Card.endExclusive()
Releases the exclusive access previously established using
beginExclusive.
|
abstract boolean |
CardTerminal.isCardPresent()
Returns whether a card is present in this terminal.
|
List |
CardTerminals.list()
Returns an unmodifiable list of all available terminals.
|
abstract List |
CardTerminals.list(CardTerminals
Returns an unmodifiable list of all terminals matching the specified state.
|
abstract CardChannel |
Card.openLogicalChannel()
Opens a new logical channel to the card and returns it.
|
abstract int |
CardChannel.transmit(ByteBuffer
Transmits the command APDU stored in the command ByteBuffer and receives the response APDU in the response ByteBuffer.
|
abstract ResponseAPDU |
CardChannel.transmit(CommandAPDU
Transmits the specified command APDU to the Smart Card and returns the response APDU.
|
abstract byte[] |
Card.transmitControlCommand(int controlCode, byte[] command)
Transmits a control command to the terminal device.
|
abstract boolean |
CardTerminal.waitForCardAbsent(long timeout)
Waits until a card is absent in this terminal or the timeout expires.
|
abstract boolean |
CardTerminal.waitForCardPresent(long timeout)
Waits until a card is present in this terminal or the timeout expires.
|
void |
CardTerminals.waitForChange()
Waits for card insertion or removal in any of the terminals of this object.
|
abstract boolean |
CardTerminals.waitForChange(long timeout)
Waits for card insertion or removal in any of the terminals of this object or until the timeout expires.
|