+
     h	  c                   s   R t ^ RIHt  ! R R]P                  4      t]R8X  d    . R	Ot^^.t^ RIHt ]! 4       ^ ,          P                  4       t
]! ]
4      t]P                  P                  4        ]P                  P                  ]],           4      w  ttt]! ]R R]R 24       ]P                  P'                  4        R# R# )
a  Card service abstract class.

A card service is a class providings specific smart card functionality,
e.g.  a GSM file system or an Open Platform loader.  CardService is an
abstract class from which concrete card services are derived.  A concrete
card service is almost always smart card operating system specific

__author__ = "https://www.gemalto.com/"

Copyright 2001-2012 gemalto
Author: Jean-Daniel Aussel, mailto:jean-daniel.aussel@gemalto.com

This file is part of pyscard.

pyscard is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

pyscard is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with pyscard; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
)CardServicec                   sJ   a  ] tR t^!t o RtRR ltR tR t]R 4       t	Rt
V tR# )	PassThruCardServicezPass-thru card service class.Nc                sF    \         P                   P                  WV4       R# )zmConstruct a pass-thru card service.

@param connection:     the CardConnection used to access the smart card
N)r    __init__)self
connectioncardnames   &&&D/usr/lib64/python3.14/site-packages/smartcard/PassThruCardService.pyr   ZPassThruCardService.__init__$   s    
 	((8D    c                s    V # N )r      &r   	__enter__ZPassThruCardService.__enter__+   s    r   c                sB    \         P                   P                  WW#4      # r   )r    __exit__)r   Zexc_typeZ	exc_valueZexc_tracebacks   &&&&r   r   ZPassThruCardService.__exit__.   s     &&//I
 	
r   c                s    R# )zReturns True if the cardname is supported by the card service.
The PassThruCardService supports all cardnames and always
returns True.Tr	   )r   r
   r   supportsZPassThruCardService.supports3   s    
 r   r	   r   )__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r   Zstaticmethodr   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   !   s,     'E

  r   r   Z__main__)readersZXZ N)i   i       r   i   )r   Z	smartcardr    r   r   ZSELECTZ
DF_TELECOMZsmartcard.Systemr   ZcreateConnectionZccZcsr   ZconnectZtransmitZdataZsw1Zsw2ZprintZ
disconnectr	   r   r   <module>r      s   : "+11 4 z;+FJ(	1	&	&	(B	R	 BMM]]++FZ,?@ND#s	SG1SG
MM r   