+
     h"
  c                   sB    R t ^ RIHt ^ RIHt ^ RIHt  ! R R4      tR# )ai  Card class.

__author__ = "gemalto 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
)Reader)readers)toHexStringc                   sH   a  ] tR t^t o RtR tR tR tR tR t	R t
RtV tR	# )
CardzCard class.c                s    Wn         W n        R# )zaCard constructor.
@param reader: reader in which the card is inserted
@param atr: ATR of the cardN)readeratr)selfr   r   s   &&&5/usr/lib64/python3.14/site-packages/smartcard/Card.py__init__ZCard.__init__!   s         c                sn    \        V P                  4      R,           \        V P                  4      ,           # )zEReturn a string representing the Card (atr and reader
concatenation).z / )r   r   strr   r      &r   __repr__ZCard.__repr__(   s&     488$u,s4;;/???r	   c                s    \        V\        4      '       dM   V P                  VP                  8H  ;'       d,    \        V P                  4      \        VP                  4      8H  # R# )zNReturn True if self==other (same reader and same atr).
Return False otherwise.F)
isinstancer   r   Zreprr   r   Zother   &&r   __eq__ZCard.__eq__-   sF     eT""88uyy(TTT$++->$u||BT-TTr	   c                s.    V P                  V4      '       * # )zNReturn True if self!=other (same reader and same atr).Returns
False otherwise.)r   r   r   r   __ne__ZCard.__ne__5   s     ;;u%%%r	   c                s*    \        \        V 4      4      # )z;Returns a hash value for this object (str(self) is unique).)Zhashr
   r   r   r   __hash__ZCard.__hash__:   s    CIr	   c                s.   Rp\        V P                  \        4      '       d   V P                  pMM\        V P                  4      \        8X  d0   \        4        F!  pV P                  \	        V4      8X  g   K  TpK#  	  V'       d   VP                  4       # R# )z+Return a CardConnection to the Card object.N)r   r   r    Ztyper
   r   createConnection)r   Z	readerobjr   s   &  r   r   ZCard.createConnection>   sl    	dkk6**I$++#%!);;#f+- &I $ --// r	   )r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s,     @
&
 r	   r   N)r   Zsmartcard.reader.Readerr    Zsmartcard.Systemr   Zsmartcard.utilr   r   ) r	   r   <module>r      s   0 + $ &/ /r	   