Skip navigation links
A B C D E G H I L O P R S T U W 

A

add(CardTerminal) - Method in class com.famoco.androidpcsclib.CardTerminals
Add a CardTerminal to the list
ATR - Class in com.famoco.androidpcsclib
 
ATR(byte[]) - Constructor for class com.famoco.androidpcsclib.ATR
Constructs an ATR from a byte array.

B

bulkOUT(byte[]) - Method in class com.famoco.androidpcsclib.Card
Wrapper for USB bulkOUT request
bulkOUT(byte[]) - Method in class com.famoco.androidpcsclib.CardTerminal
Wrapper for bulkOUT request USB communication is done in PCSC object
bulkOUT(byte[]) - Method in class com.famoco.androidpcsclib.PCSC
Send bulk to the linked mReader
bytesToHex(byte[]) - Static method in class com.famoco.androidpcsclib.Utils
 

C

Card - Class in com.famoco.androidpcsclib
A Smart Card with which a connection has been established.
Card(CardTerminal) - Constructor for class com.famoco.androidpcsclib.Card
Constructs a new Card object.
CardChannel - Class in com.famoco.androidpcsclib
A logical channel connection to a Smart Card.
CardChannel(Card) - Constructor for class com.famoco.androidpcsclib.CardChannel
Constructs a new CardChannel object.
CardTerminal - Class in com.famoco.androidpcsclib
A Smart Card terminal, sometimes referred to as a Smart Card Reader.
CardTerminal(PCSC, int) - Constructor for class com.famoco.androidpcsclib.CardTerminal
Constructs a new CardTerminal object.
CardTerminals - Class in com.famoco.androidpcsclib
This class allows applications to enumerate the available CardTerminals
CardTerminals() - Constructor for class com.famoco.androidpcsclib.CardTerminals
 
close() - Method in class com.famoco.androidpcsclib.PCSC
Close communication with card readers
com.famoco.androidpcsclib - package com.famoco.androidpcsclib
 
CommandAPDU - Class in com.famoco.androidpcsclib
A command APDU following the structure defined in ISO/IEC 7816-4.
CommandAPDU(byte[]) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from a byte array containing the complete APDU contents (header and body).
CommandAPDU(byte[], int, int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from a byte array containing the complete APDU contents (header and body).
CommandAPDU(ByteBuffer) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Creates a CommandAPDU from the ByteBuffer containing the complete APDU contents (header and body).
CommandAPDU(int, int, int, int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes.
CommandAPDU(int, int, int, int, int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes and the expected response data length.
CommandAPDU(int, int, int, int, byte[]) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes and command data.
CommandAPDU(int, int, int, int, byte[], int, int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes and command data.
CommandAPDU(int, int, int, int, byte[], int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes, command data, and expected response data length.
CommandAPDU(int, int, int, int, byte[], int, int, int) - Constructor for class com.famoco.androidpcsclib.CommandAPDU
Constructs a CommandAPDU from the four header bytes, command data, and expected response data length.
connect(String) - Method in class com.famoco.androidpcsclib.CardTerminal
Establishes a connection to the card.
createTestAPDU(int, int) - Method in class com.famoco.androidpcsclib.CardTerminal
Create a variable length APDU

D

disconnect(Boolean) - Method in class com.famoco.androidpcsclib.Card
Disconnects the connection with this card.

E

enableCCIDLogs(boolean) - Method in class com.famoco.androidpcsclib.PCSC
Enable CCID level logs.
equals(Object) - Method in class com.famoco.androidpcsclib.ATR
Compares the specified object with this ATR for equality.
equals(Object) - Method in class com.famoco.androidpcsclib.CommandAPDU
Compares the specified object with this command APDU for equality.
equals(Object) - Method in class com.famoco.androidpcsclib.ResponseAPDU
Compares the specified object with this response APDU for equality.

G

get(int) - Method in class com.famoco.androidpcsclib.CardTerminals
get a CardTerminal from the list
getAPDU() - Method in class com.famoco.androidpcsclib.CardTerminal
Get last APDU for this slot/card
getATR() - Method in class com.famoco.androidpcsclib.Card
Returns the ATR of this card.
getATR() - Method in class com.famoco.androidpcsclib.CardTerminal
Get ATR for this slot
getBasicChannel() - Method in class com.famoco.androidpcsclib.Card
Returns the CardChannel for the basic logical channel.
getBasicChannel() - Method in class com.famoco.androidpcsclib.CardChannel
Simply return a reference to this object
getBytes() - Method in class com.famoco.androidpcsclib.ATR
Returns a copy of the bytes in this ATR.
getBytes() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns a copy of the bytes in this APDU.
getBytes() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns a copy of the bytes in this APDU.
getCardValid() - Method in class com.famoco.androidpcsclib.CardTerminal
get card state for this terminal (slot)
getCLA() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the value of the class byte CLA.
getCurrentSlot() - Method in class com.famoco.androidpcsclib.PCSC
Get the current slot number.
getData() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns a copy of the data bytes in the command body.
getData() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns a copy of the data bytes in the response body.
getHistoricalBytes() - Method in class com.famoco.androidpcsclib.ATR
Returns a copy of the historical bytes in this ATR.
getINS() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the value of the instruction byte INS.
getmSequenceNumber() - Method in class com.famoco.androidpcsclib.CardTerminal
Get and post-increment current sequence number
getName() - Method in class com.famoco.androidpcsclib.CardTerminal
mReader's name
getName() - Method in class com.famoco.androidpcsclib.PCSC
Get the current reader name.
getNc() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the number of data bytes in the command body (Nc) or 0 if this APDU has no body.
getNe() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the maximum number of expected data bytes in a response APDU (Ne).
getNr() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns the number of data bytes in the response body (Nr) or 0 if this APDU has no body.
getP1() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the value of the parameter byte P1.
getP2() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the value of the parameter byte P2.
getReader() - Method in class com.famoco.androidpcsclib.PCSC
Get current linked driver
getReaderDevice() - Method in class com.famoco.androidpcsclib.CardTerminal
Get current USB device linked to this object
getSequenceNumber() - Method in class com.famoco.androidpcsclib.Card
Get current sequence number
getSlotNumber() - Method in class com.famoco.androidpcsclib.Card
Get linked slot
getSlotNumber() - Method in class com.famoco.androidpcsclib.CardTerminal
Get linked slot
getSlotStatus(byte) - Method in class com.famoco.androidpcsclib.CardTerminal
Get slot status
getSW() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns the value of the status bytes SW1 and SW2 as a single status word SW.
getSW1() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns the value of the status byte SW1 as a value between 0 and 255.
getSW2() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns the value of the status byte SW2 as a value between 0 and 255.
getTerminals() - Method in class com.famoco.androidpcsclib.PCSC
Get the list of available terminals

H

hashCode() - Method in class com.famoco.androidpcsclib.ATR
Returns the hash code value for this ATR.
hashCode() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns the hash code value for this command APDU.
hashCode() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns the hash code value for this response APDU.
hexStringToByteArray(String) - Static method in class com.famoco.androidpcsclib.Utils
Hexadecimal String to Byte Array converter

I

init() - Method in class com.famoco.androidpcsclib.PCSC
Initialize the communication with reader.
isCardPresent() - Method in class com.famoco.androidpcsclib.CardTerminal
Is the a card on this mReader (slot) ?

L

list() - Method in class com.famoco.androidpcsclib.CardTerminals
Retrieve a list of all available terminals.

O

onCardStatusChange(CardTerminal, Boolean) - Method in interface com.famoco.androidpcsclib.PCSC.PCSCCallbackInterface
State has change on the current reader
onTerminalListChange(List<CardTerminal>) - Method in interface com.famoco.androidpcsclib.PCSC.PCSCCallbackInterface
A new device discovery event

P

PCSC - Class in com.famoco.androidpcsclib
This class allows applications to communicate with the available CardTerminals on USB
PCSC(Context, PCSC.PCSCCallbackInterface) - Constructor for class com.famoco.androidpcsclib.PCSC
Instantiates the PCSC object that will allow you to communicate with allowed PCSC readers.
PCSC(Context) - Constructor for class com.famoco.androidpcsclib.PCSC
Instantiates the PCSC object that will allow you to communicate with allowed PCSC readers.
PCSC.PCSCCallbackInterface - Interface in com.famoco.androidpcsclib
 
powerDOWN(byte) - Method in class com.famoco.androidpcsclib.CardTerminal
Ask to power down the card
powerUP(byte) - Method in class com.famoco.androidpcsclib.CardTerminal
Ask to power up the card

R

ResponseAPDU - Class in com.famoco.androidpcsclib
A response APDU as defined in ISO/IEC 7816-4.
ResponseAPDU(byte[]) - Constructor for class com.famoco.androidpcsclib.ResponseAPDU
Constructs a ResponseAPDU from a byte array containing the complete APDU contents (conditional body and trailed).
run() - Method in class com.famoco.androidpcsclib.PCSC
USB Interrupt and bulk-in reception thread

S

sendEscape(byte, byte[]) - Method in class com.famoco.androidpcsclib.CardTerminal
Send escape command to the terminal
setAPDU(ResponseAPDU) - Method in class com.famoco.androidpcsclib.CardTerminal
Store APDU for this slot/card
setATR(ATR) - Method in class com.famoco.androidpcsclib.CardTerminal
Store ATR for this slot
setCardState(boolean) - Method in class com.famoco.androidpcsclib.CardTerminal
Change card state for this terminal (slot)
setCardValid(boolean) - Method in class com.famoco.androidpcsclib.CardTerminal
Change card state for this terminal (slot)

T

toString() - Method in class com.famoco.androidpcsclib.ATR
Returns a string representation of this ATR.
toString() - Method in class com.famoco.androidpcsclib.CommandAPDU
Returns a string representation of this command APDU.
toString() - Method in class com.famoco.androidpcsclib.ResponseAPDU
Returns a string representation of this response APDU.
transmit(CommandAPDU) - Method in class com.famoco.androidpcsclib.CardChannel
Transmits the specified command APDU to the Smart Card and returns the response APDU.

U

Utils - Class in com.famoco.androidpcsclib
 
Utils() - Constructor for class com.famoco.androidpcsclib.Utils
 

W

waitAPDU() - Method in class com.famoco.androidpcsclib.Card
Prepare to wait for an APDU transaction (ie a response from the card)
waitAPDU() - Method in class com.famoco.androidpcsclib.CardTerminal
Prepare to wait for an APDU transaction (ie a response from the card)
waitAPDU(int) - Method in class com.famoco.androidpcsclib.PCSC
Prepare to wait for an APDU transaction (ie a response from the card)
waitEscape(int) - Method in class com.famoco.androidpcsclib.PCSC
Prepare to wait for an Escape transaction
waitRAPDU() - Method in class com.famoco.androidpcsclib.Card
Wait forever for an APDU answer
waitRAPDU() - Method in class com.famoco.androidpcsclib.CardTerminal
Wait 'forever' for an APDU answer
waitRAPDU() - Method in class com.famoco.androidpcsclib.PCSC
Wait for the response APDU
waitRESCAPE() - Method in class com.famoco.androidpcsclib.PCSC
Wait for the response APDU
A B C D E G H I L O P R S T U W 
Skip navigation links