public class JCSCard extends Card
| Constructor and Description |
|---|
JCSCard(JavaCardInterface cardInterface) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginExclusive()
Do nothing.
|
void |
disconnect(boolean reset)
Disconnect form the card
|
void |
endExclusive()
Do nothing.
|
ATR |
getATR() |
CardChannel |
getBasicChannel() |
String |
getProtocol()
Always returns T=0.
|
CardChannel |
openLogicalChannel()
Always returns logical channel with id = 1
|
byte[] |
transmitControlCommand(int i,
byte[] bytes) |
public JCSCard(JavaCardInterface cardInterface)
public String getProtocol()
getProtocol in class Cardpublic CardChannel getBasicChannel()
getBasicChannel in class Cardpublic CardChannel openLogicalChannel() throws CardException
openLogicalChannel in class CardCardExceptionpublic void beginExclusive()
throws CardException
beginExclusive in class CardCardExceptionpublic void endExclusive()
throws CardException
endExclusive in class CardCardExceptionpublic byte[] transmitControlCommand(int i,
byte[] bytes)
throws CardException
transmitControlCommand in class CardCardExceptionpublic void disconnect(boolean reset)
throws CardException
disconnect in class Cardreset - true if the card should be resetCardExceptionCard.disconnect(boolean)