Interface SmartCard
- All Known Subinterfaces:
IsoSmartCard
The power-on data that could be collected by the selection process are made available.
Must be implemented and possibly extended by a card extension to meet its specific needs.
- Since:
- 1.0.0
-
Method Summary
-
Method Details
-
getPowerOnData
String getPowerOnData()Gets the card's power-on data.The power-on data is defined as the data retrieved by the reader when the card is inserted.
In the case of a contact reader, this is the Answer To Reset data (ATR) defined by ISO7816.
In the case of a contactless reader, the reader decides what this data is.
Some contactless readers provide a virtual ATR (partially standardized by the PC/SC standard), but other devices can have their own definition, including for example elements from the anti-collision stage of the ISO14443 protocol (ATQA, ATQB, ATS, SAK, etc) or any proprietary definitions.These data being variable from one reader to another, they are defined here in string format which can be either a hexadecimal string or any other relevant information.
- Returns:
- Null if no power-on data is available.
- Since:
- 1.0.0
-