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
true
if the card is inserted in the reader.- Returns:
true
if the card is inserted in the reader;false
otherwise
isDongle¶
- public boolean isDongle()¶
Returns
true
if 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:
true
if the reader is known as un USB dongle type;false
otherwise
isVirtual¶
- public boolean isVirtual()¶
Returns
true
if the reader is a virtual smart card.- Returns:
true
if the reader is a virtual smart card;false
otherwise