JCSCard



com.licel.jcardsim.smartcardio
Class JCSCard

java.lang.Object
  extended by javax.smartcardio.Card
      extended by com.licel.jcardsim.smartcardio.JCSCard

public class JCSCard
extends javax.smartcardio.Card

Card implementation class.


Constructor Summary
JCSCard(JavaCardInterface cardInterface)
           
 
Method Summary
 void beginExclusive()
          Do nothing.
 void disconnect(boolean bln)
          Do nothing.
 void endExclusive()
          Do nothing.
 javax.smartcardio.ATR getATR()
           
 javax.smartcardio.CardChannel getBasicChannel()
           
 String getProtocol()
          Always returns T=0.
 javax.smartcardio.CardChannel openLogicalChannel()
          Always returns basic channel with id = 0
 byte[] transmitControlCommand(int i, byte[] bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCSCard

public JCSCard(JavaCardInterface cardInterface)
Method Detail

getATR

public javax.smartcardio.ATR getATR()
Specified by:
getATR in class javax.smartcardio.Card

getProtocol

public String getProtocol()
Always returns T=0.

Specified by:
getProtocol in class javax.smartcardio.Card

getBasicChannel

public javax.smartcardio.CardChannel getBasicChannel()
Specified by:
getBasicChannel in class javax.smartcardio.Card

openLogicalChannel

public javax.smartcardio.CardChannel openLogicalChannel()
                                                 throws javax.smartcardio.CardException
Always returns basic channel with id = 0

Specified by:
openLogicalChannel in class javax.smartcardio.Card
Throws:
javax.smartcardio.CardException

beginExclusive

public void beginExclusive()
                    throws javax.smartcardio.CardException
Do nothing.

Specified by:
beginExclusive in class javax.smartcardio.Card
Throws:
javax.smartcardio.CardException

endExclusive

public void endExclusive()
                  throws javax.smartcardio.CardException
Do nothing.

Specified by:
endExclusive in class javax.smartcardio.Card
Throws:
javax.smartcardio.CardException

transmitControlCommand

public byte[] transmitControlCommand(int i,
                                     byte[] bytes)
                              throws javax.smartcardio.CardException
Specified by:
transmitControlCommand in class javax.smartcardio.Card
Throws:
javax.smartcardio.CardException

disconnect

public void disconnect(boolean bln)
                throws javax.smartcardio.CardException
Do nothing.

Specified by:
disconnect in class javax.smartcardio.Card
Throws:
javax.smartcardio.CardException