Package smartcard
[hide private]
[frames] | no frames]

Source Code for Package smartcard

 1  """Smartcard utility module. 
 2   
 3  The smartcard utility module provides classes and functions to 
 4  access smartcards and readers. 
 5   
 6  __author__ = "gemalto http://www.gemalto.com" 
 7   
 8  Copyright 2001-2012 gemalto 
 9  Author: Jean-Daniel Aussel, mailto:jean-daniel.aussel@gemalto.com 
10   
11  This file is part of pyscard. 
12   
13  pyscard is free software; you can redistribute it and/or modify 
14  it under the terms of the GNU Lesser General Public License as published by 
15  the Free Software Foundation; either version 2.1 of the License, or 
16  (at your option) any later version. 
17   
18  pyscard is distributed in the hope that it will be useful, 
19  but WITHOUT ANY WARRANTY; without even the implied warranty of 
20  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
21  GNU Lesser General Public License for more details. 
22   
23  You should have received a copy of the GNU Lesser General Public License 
24  along with pyscard; if not, write to the Free Software 
25  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA 
26  """ 
27   
28  __all__ = ['listReaders', 
29               'Session'] 
30   
31  # for legacy only 
32  from smartcard.System import listReaders 
33  from smartcard.Session import Session 
34