|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.javacard.apduio.ClientProtocol
com.sun.javacard.apduio.ClientT0Protocol
public class ClientT0Protocol
The ClientT0Protocol class manages the client (terminal) side of the T=0 protocol exchange with a CAD.
| Field Summary | |
|---|---|
protected boolean |
auto61xx
This field maintains the current state of the auto61xx flag. |
| Fields inherited from class com.sun.javacard.apduio.ClientProtocol |
|---|
cad |
| Constructor Summary | |
|---|---|
ClientT0Protocol(CadT0Client cad)
Constructs a new ClientT0Protocol instance. |
|
| Method Summary | |
|---|---|
void |
exchangeApdu(Apdu apdu)
Exchange a case 1, 2s, 3s, 4s, 2e, 3e or 4e APDU with a CAD. |
boolean |
getAuto61xx()
Tests if auto61xx is enabled. |
void |
setAuto61xx(boolean state)
Enables or disables auto61xx. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean auto61xx
| Constructor Detail |
|---|
public ClientT0Protocol(CadT0Client cad)
cad - The Cad object which all IO will be done through.| Method Detail |
|---|
public void setAuto61xx(boolean state)
state - True enables auto61xx, false disables auto61xx.public boolean getAuto61xx()
public void exchangeApdu(Apdu apdu)
throws java.io.IOException,
TLP224Exception
exchangeApdu in class ClientProtocolapdu - The APDU to exchange.
TLP224Exception - if the apdu is an unsupported case.
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||