Reader¶
- public class Reader¶
Class represents a smart card reader (either a physical, hardware reader, or a virtual smart card reader).
Methods¶
connect¶
getName¶
getStatus¶
isCardPresent¶
- public boolean isCardPresent()¶
Returns
trueif the card is inserted in the reader.- Returns:
trueif the card is inserted in the reader;falseotherwise
isDongle¶
- public boolean isDongle()¶
Returns
trueif the reader is known as an USB dongle type (as opposed to a standard ID-1 format card reader).Note: that this is indicative, and based on an internal registry of reader names.
- Returns:
trueif the reader is known as un USB dongle type;falseotherwise
isVirtual¶
- public boolean isVirtual()¶
Returns
trueif the reader is a virtual smart card.- Returns:
trueif the reader is a virtual smart card;falseotherwise