Package smartcard :: Module CardType :: Class AnyCardType
[hide private]
[frames] | no frames]

Class AnyCardType

source code


The AnyCardType matches any card.

Instance Methods [hide private]
 
matches(self, atr, reader=None)
Always returns true, i.e.
source code

Inherited from CardType: __init__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

matches(self, atr, reader=None)

source code 

Always returns true, i.e. AnyCardType matches any card.

Parameters:
  • atr - the atr to chek for matching
  • reader - the reader (optional); default is None
Overrides: CardType.matches