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 变量和类型 类 描述 class
CardNotPresentException
当应用程序尝试与没有卡的终端建立连接时抛出异常。Methods in javax.smartcardio that throw CardException 变量和类型 方法 描述 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)
等待在此对象的任何终端中插入或移除卡,或者直到超时到期。
-