- 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
- 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