PCSC4Java
0.2
Library PCSC for Java language.
|
Public Member Functions | |
ATR (byte[] atr, int iClockCard) | |
byte[] | getBytes () |
String | getConvention () |
long | getWorkWaitingTime () |
boolean | isNegotiableMode () |
boolean | isAbleToChangeFromSpecificToNegociableMode () |
boolean | areTransmissionParametersImplicitlyKnownByTerminal () |
ArrayList< Byte > | getListOfTA () |
ArrayList< Byte > | getListOfTB () |
ArrayList< Byte > | getListOfTC () |
ArrayList< Byte > | getListOfTD () |
ArrayList< Byte > | getListOfProtocols () |
ArrayList< String > | getListOfTaTypes () |
byte | getII () |
byte | getWI () |
byte | getTS () |
byte | getTCK () |
byte | getT0 () |
byte | getPI2 () |
byte | getPI1 () |
byte | getN () |
byte | getIFSI () |
byte | getFI () |
byte | getDI () |
byte | getCWI () |
byte | getBWI () |
byte | getBlockErrorDetection () |
byte | getClock () |
int | getF () |
int | getD () |
double | getClkFMax () |
double | getClkF () |
double | getDefaultBaudRate () |
double | getBaudRate () |
double | getBlockWaitingTime () |
double | getCharacterWaitingTime () |
double | getExtraGuardTime () |
boolean | isSupportedProtocol (int iProtocol) |
byte | getVoltageClass () |
byte[] | getHistoricalBytes () |
boolean | isTaPresent (int iIndex) |
boolean | isTbPresent (int iIndex) |
boolean | isTcPresent (int iIndex) |
boolean | isTdPresent (int iIndex) |
String | toString () |
boolean | equals (Object obj) |
int | hashCode () |
Object[] | getDescription () |
A Smart Card's answer-to-reset bytes. A Card's ATR object can be obtained by calling Card::getATR}. This class does not attempt to verify that the ATR encodes a semantically valid structure.
Instances of this class are immutable. Where data is passed in or out via byte arrays, defensive cloning is performed.
fr.redbilled.pcscforjava.ATR.ATR | ( | byte[] | atr, |
int | iClockCard | ||
) |
boolean fr.redbilled.pcscforjava.ATR.equals | ( | Object | obj | ) |
Compares the specified object with this ATR for equality. Returns true if the given object is also an ATR and its bytes are identical to the bytes in this ATR.
obj | the object to be compared for equality with this ATR |
Definition at line 871 of file ATR.java.
double fr.redbilled.pcscforjava.ATR.getBaudRate | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getBWI | ( | ) |
byte [] fr.redbilled.pcscforjava.ATR.getBytes | ( | ) |
double fr.redbilled.pcscforjava.ATR.getClkF | ( | ) |
double fr.redbilled.pcscforjava.ATR.getClkFMax | ( | ) |
String fr.redbilled.pcscforjava.ATR.getConvention | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getCWI | ( | ) |
Object [] fr.redbilled.pcscforjava.ATR.getDescription | ( | ) |
Returns the description of the ATR. The first index of the return array is the type of the current byte (e.g: TD1 TA2 TB1 ...). The second one is the value of the current byte (e.g 0x3F ...). The third one contains the description of the current byte. One entry in the array is used by byte.
ParseException | if the current ATR is malformed. |
byte fr.redbilled.pcscforjava.ATR.getDI | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getFI | ( | ) |
byte [] fr.redbilled.pcscforjava.ATR.getHistoricalBytes | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getIFSI | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getII | ( | ) |
ArrayList<Byte> fr.redbilled.pcscforjava.ATR.getListOfProtocols | ( | ) |
ArrayList<Byte> fr.redbilled.pcscforjava.ATR.getListOfTA | ( | ) |
ArrayList<String> fr.redbilled.pcscforjava.ATR.getListOfTaTypes | ( | ) |
ArrayList<Byte> fr.redbilled.pcscforjava.ATR.getListOfTB | ( | ) |
ArrayList<Byte> fr.redbilled.pcscforjava.ATR.getListOfTC | ( | ) |
ArrayList<Byte> fr.redbilled.pcscforjava.ATR.getListOfTD | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getN | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getPI1 | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getPI2 | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getT0 | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getTCK | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getTS | ( | ) |
byte fr.redbilled.pcscforjava.ATR.getWI | ( | ) |
boolean fr.redbilled.pcscforjava.ATR.isNegotiableMode | ( | ) |
boolean fr.redbilled.pcscforjava.ATR.isSupportedProtocol | ( | int | iProtocol | ) |
boolean fr.redbilled.pcscforjava.ATR.isTaPresent | ( | int | iIndex | ) |
boolean fr.redbilled.pcscforjava.ATR.isTbPresent | ( | int | iIndex | ) |
boolean fr.redbilled.pcscforjava.ATR.isTcPresent | ( | int | iIndex | ) |
boolean fr.redbilled.pcscforjava.ATR.isTdPresent | ( | int | iIndex | ) |
String fr.redbilled.pcscforjava.ATR.toString | ( | ) |