Spec-Zone .ru
спецификации, руководства, описания, API

Java Smart Card I/O
DRAFT ea-b118

Uses of Class
javax.smartcardio.CardException

Uses of CardException in javax.smartcardio
 

Subclasses of CardException in javax.smartcardio
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.
 

Methods in javax.smartcardio that throw CardException
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 protocol)
          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<CardTerminal> CardTerminals.list()
          Returns an unmodifiable list of all available terminals.
abstract  List<CardTerminal> CardTerminals.list(CardTerminals.State state)
          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 command, ByteBuffer response)
          Transmits the command APDU stored in the command ByteBuffer and receives the reponse APDU in the response ByteBuffer.
abstract  ResponseAPDU CardChannel.transmit(CommandAPDU command)
          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.
 


Java Smart Card I/O
DRAFT ea-b118

Copyright © 2005, 2010, Oracle Corporation. All rights reserved.
DRAFT ea-b118

Scripting on this page tracks web page traffic, but does not change the content in any way.