Uses of Class
javax.smartcardio.CardException
-
Packages that use CardException 软件包 描述 javax.smartcardio Java™智能卡I / O API -
-
Uses of CardException in javax.smartcardio
Subclasses of CardException in javax.smartcardio Modifier and Type Class 描述 class
CardNotPresentException
当应用程序尝试与没有存在卡的终端建立连接时抛出异常。Methods in javax.smartcardio that throw CardException Modifier and Type 方法 描述 abstract void
Card. beginExclusive()
请求独占访问此卡。abstract void
CardChannel. close()
关闭这个CardChannel。abstract Card
CardTerminal. connect(String protocol)
建立与卡的连接。abstract void
Card. disconnect(boolean reset)
断开与此卡的连接。abstract void
Card. endExclusive()
发布以前使用beginExclusive
建立的独占访问。abstract boolean
CardTerminal. isCardPresent()
返回此终端中是否存在卡。List<CardTerminal>
CardTerminals. list()
返回所有可用终端的不可修改列表。abstract List<CardTerminal>
CardTerminals. list(CardTerminals.State state)
返回与指定状态匹配的所有终端的不可修改列表。abstract CardChannel
Card. openLogicalChannel()
打开一个新的逻辑通道卡并返回。abstract int
CardChannel. transmit(ByteBuffer command, ByteBuffer response)
发送存储在命令ByteBuffer中的命令APDU,并在响应ByteBuffer中接收响应APDU。abstract ResponseAPDU
CardChannel. transmit(CommandAPDU command)
将指定的命令APDU发送到智能卡,并返回响应APDU。abstract byte[]
Card. transmitControlCommand(int controlCode, byte[] command)
向终端设备发送控制命令。abstract boolean
CardTerminal. waitForCardAbsent(long timeout)
等待直到该终端的卡不存在或超时到期。abstract boolean
CardTerminal. waitForCardPresent(long timeout)
等待直到某个卡存在于此终端或超时到期。void
CardTerminals. waitForChange()
等待在该对象的任何终端中插入或删除卡。abstract boolean
CardTerminals. waitForChange(long timeout)
等待在该对象的任何终端中插入或删除卡,或者超时到期。
-