修飾子と型 | クラスと説明 |
---|---|
class |
CardNotPresentException
アプリケーションがカードを持たない端末と接続しようとしたときにスローされる例外です。
|
修飾子と型 | メソッドと説明 |
---|---|
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)
このオブジェクトの端末のいずれかでカードの挿入または取り出し、あるいはタイムアウトの期限切れが発生するのを待機します。
|
Copyright © 2005, 2013, Oracle and/or its affiliates. All rights reserved.