|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.javacard.clientlib.ApduIOCardAccessor
public class ApduIOCardAccessor
Implementation of CardAccessor using ApduIO library
Field Summary | |
---|---|
protected com.sun.javacard.apduio.CadClientInterface |
cad
Reference to underlying ApduIO object. |
Constructor Summary | |
---|---|
ApduIOCardAccessor()
Creates a new instance of ApduIOCardAccessor |
Method Summary | |
---|---|
void |
closeCard()
Close and powerdown the card. |
byte[] |
exchangeAPDU(byte[] capdu)
Implementation of exchangeAPDU method of CardAccessor interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected com.sun.javacard.apduio.CadClientInterface cad
Constructor Detail |
---|
public ApduIOCardAccessor() throws java.lang.Exception
java.lang.Exception
- Thrown is config file jcclient.properties
is not found in classpath or communication error happened.Method Detail |
---|
public byte[] exchangeAPDU(byte[] capdu) throws java.io.IOException
exchangeAPDU
in interface CardAccessor
capdu
- byte array containing C-APDU
java.io.IOException
- In case of I/O errorpublic void closeCard() throws java.lang.Exception
closeCard
in interface CardAccessor
java.lang.Exception
- Thrown if a problem occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |