class documentation
class CardType:
Known subclasses: smartcard.CardType.AnyCardType
, smartcard.CardType.ATRCardType
Constructor: CardType()
Abstract base class for CardTypes.
Known subclasses: smartcard.CardType.AnyCardType
smartcard.CardType.ATRCardType
.
Method | __init__ |
CardType constructor. |
Method | matches |
Returns true if atr and card connected match the CardType . |
overridden in
smartcard.CardType.AnyCardType
, smartcard.CardType.ATRCardType
Returns true if atr and card connected match the CardType
.
Parameters | |
atr | the atr to check for matching |
reader | the reader (optional); default is None The reader can be used in some subclasses to do advanced matching that require connecting to the card. |