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