| Package | Description |
|---|---|
| com.scdroid.ccid | |
| com.scdroid.smartcard | |
| com.scdroid.smartcard.protocol | |
| com.scdroid.util | |
| tr.gov.tubitak.uekae.esya.api.smartcard.android.ccid.reader |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
CCIDReader.ConnectCard(byte PreferredProtocols)
ConnectCard: connect card by default slot number=0 and Preferred
Protocols backward compatible
|
byte[] |
CCIDReader.ConnectCard(int Slot,
byte PreferredProtocols)
ConnectCard: connect card by slot number and Preferred Protocols
|
Card |
IReader.ConnectCard(java.lang.String CardClass,
byte PreferredProtocols) |
Card |
CCIDReader.ConnectCard(java.lang.String CardClass,
byte PreferredProtocols)
ConnectCard: connect and create specific card instance by default slot
number=0 and Preferred Protocols backward compatible
|
Card |
IReader.ConnectCard(java.lang.String CardClass,
int Slot,
byte PreferredProtocols) |
Card |
CCIDReader.ConnectCard(java.lang.String CardClass,
int Slot,
byte PreferredProtocols)
ConnectCard: connect and create specific card instance by slot number and
Preferred Protocols
|
void |
IReader.DisConnectCard() |
void |
CCIDReader.DisConnectCard()
DisConnectCard: Disconnect and power off the card
|
byte[] |
CCIDReader.Escape(byte[] espcmd)
Escape: implementation of PC_to_RDR_Escape
|
protected T1Block |
CCIDReader.exchangeData(T1Block sendBlock)
exchangeData: implement T1Block exchangeData from T1Protocol class
|
byte[] |
CCIDReader.GetParameters()
SetParameters: implementation of PC_to_RDR_GetParameters
|
int |
CCIDReader.GetSlotStatus()
GetSlotStatus: implementation of PC_to_RDR_GetSlotStatus
|
boolean |
IReader.isCardPresent() |
boolean |
CCIDReader.isCardPresent()
isCardPresent: check if the card is in the reader
|
void |
USBReader.Open() |
void |
IReader.Open() |
void |
BTReader.Open() |
void |
BTReader.OpenEx(int nReTry) |
void |
CCIDReader.PowerOff()
PowerOff: implementation of PC_to_RDR_IccPowerOff
|
byte[] |
CCIDReader.PowerOn()
PowerOn: Main PowerOn function
|
byte[] |
USBReader.Read() |
byte[] |
IReader.Read() |
byte[] |
BTReader.Read() |
void |
CCIDReader.SetParameters(byte protocol,
byte[] param)
SetParameters: implementation of PC_to_RDR_SetParameters
|
byte[] |
IReader.Transmit(byte[] data) |
byte[] |
CCIDReader.Transmit(byte[] apdu)
Transmit: function expose
|
void |
IReader.WaitCardEvent(int event) |
void |
CCIDReader.WaitCardEvent(int event)
WaitCardEvent: Wait card inserted or removed event
|
void |
USBReader.Write(byte[] cmd) |
void |
IReader.Write(byte[] cmd) |
void |
BTReader.Write(byte[] cmd) |
byte[] |
CCIDReader.XfrBlock(byte[] apdu)
XfrBlock: Main XfrBlock function.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Card.Disconnect()
Terminates a connection previously opened between the calling application and a smart card in the target reader
|
byte[] |
EMVCard.getChallenge() |
byte[] |
EMVCard.GetData(byte[] tag) |
byte[] |
EMVCard.GetData(byte[] tag,
int LE) |
int |
EMVCard.GetPinTryCounter() |
byte[] |
EMVCard.GetProcessingOptions(byte[] PDOL) |
void |
EMVCard.internalAuthenticate(byte[] data) |
boolean |
Card.isPresent() |
byte[] |
EMVCard.ReadRecord(byte SFI,
byte no,
int len) |
protected byte[] |
Card.Select(byte[] data)
Performs a SELECT command to select the ICC PSE, DDF, or ADF
|
protected void |
Card.SelectApplication(byte[] aid)
Performs a SELECT command to select an application.
|
void |
EMVCard.SelectFile(byte[] id)
Basic.
|
void |
EMVCard.SelectMF(int id) |
byte[] |
Card.Transmit(byte[] apdu)
Sends a APDU command to the smart card and expects to receive data back from the card.
|
byte[] |
Card.Transmit(byte[] data,
int swExpected,
java.lang.String commandName) |
void |
EMVCard.VerifyPIN(byte[] pin,
boolean transmitInPlaintext) |
void |
EMVCard.VerifyPIN(long pin,
boolean transmitInPlaintext) |
void |
EMVCard.VerifyPIN(java.lang.String pin,
boolean transmitInPlaintext) |
| Modifier and Type | Class and Description |
|---|---|
class |
T1BlockEDCErrorException
T1BlockEDCErrorException is thrown when length of byte array (raw data) is incorrect
|
class |
T1BlockLengthException
T1BlockLengthException is thrown when length of byte array (raw data) is incorrect
|
class |
T1BlockSequenceNumberErrorException |
class |
T1Exception
T1Exception is the base exception for all T1 exceptions
|
class |
T1IOException
T1IOException is thrown when an IO error occurs in the T1 protocol
|
class |
T1TimeoutException
T1TimeoutException is thrown when an send- or receive-timeout occurs in the T1 protocol
|
class |
T1UnknownBlockException
T1UnknownBlockException is thrown when an IO error occurs in the T1 protocol
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract T1Block |
T1Protocol.exchangeData(T1Block sendBlock)
exchangeData
responsible for the real data-transfer.
|
protected void |
T1Protocol.initT1Protocol(byte maxIFSD,
byte IFSC)
initProtocol initialize protocol.
|
protected T1Block |
T1Protocol.internalTransmit(int retryCount,
T1Block dataBlock)
internalTransmit
exchanges blocks with T1 protocol handling.
|
protected byte[] |
T1Protocol.transmit(int remoteAddress,
byte[] sendData)
transmit sends the data to the terminal and waits for result
until timeout is reached.
|
protected byte[] |
T1Protocol.transmit(int hostAddress,
int remoteAddress,
byte[] sendData)
transmit sends the data to the terminal and waits for result
until timeout is reached.
|
protected byte[] |
T1Protocol.transmitT1(byte[] sendData)
transmit sends the data to the terminal and waits for result
until timeout is reached.
|
| Modifier and Type | Method and Description |
|---|---|
protected Card |
SCActivity.SCThread.ConnectCard(java.lang.String CardClass,
byte PreferredProtocols) |
protected Card |
BTActivity.SCThread.ConnectCard(java.lang.String CardClass,
byte PreferredProtocols)
Establishes the connection to the card in the reader and get the card instance implemented by user.
|
protected Card |
SCActivity.SCThread.ConnectCard(java.lang.String CardClass,
int Slot,
byte PreferredProtocols)
Establishes the connection to the card in the reader and get the card instance implemented by user.
|
protected IReader |
BTActivity.createReader()
Subclasses may override this method for alternate creation modes of the
reader instance.
|
protected void |
SCActivity.SCThread.RunCommands()
Subclasses should override this method for performing card operations to
be done.
|
protected void |
BTActivity.SCThread.RunCommands()
Subclasses should override this method for performing card operations to
be done.
|
protected void |
SCActivity.SCThread.WaitCardInserted()
method to wait card inserted event.
|
protected void |
BTActivity.SCThread.WaitCardInserted()
method to wait card inserted event.
|
protected void |
SCActivity.SCThread.WaitCardRemoved()
method to wait card removed event.
|
protected void |
BTActivity.SCThread.WaitCardRemoved()
method to wait card removed event.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
AkisCard.isPresent() |
Copyright © 2025. All rights reserved.