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