+
     h"  c                   s   R t ^ RIt^ RIHt ^b]P
                  P                  P                  ^R/3^d]P
                  P                  P                  ^ R/3^i]P
                  P                  P                  ^R/3^j]P
                  P                  P                  ^R^R^R^R	/3/t
 ! R
 R]4      t]R8X  d*    ]! 4       t]! . ^^ 4       ]! . ^j^4        ]! . ^j^4       R# R#   ]P
                  P                  P                   d=   t]! ]! ]4      R]P"                  R R]P$                  R 2,           4        RtAR# RtAii ; i)an  ISO7816-9 error checker.

__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
N)ErrorCheckerzEnd of file/record reachedzExecution errorzSecurity status not satisfiedz"Incorrect parameters in data fieldzNot enough memory spacezFile already existszDF name already existsc                   s*   a  ] tR t^5t o RtR tRtV tR# )ISO7816_9ErrorCheckerap  ISO7816-8 error checker.

This error checker raises the following exceptions:
  - sw1 sw2
  - 62  82          WarningProcessingException
  - 64  00          ExecutionErrorException
  - 69  82          CheckingErrorException
  - 6A  80,84,89,8A CheckingErrorException

This checker does not raise exceptions on undefined sw1 values, e.g.:
  - sw1 sw2
  - 63  any
  - 6F  any

and on undefined sw2 values, e.g.:
  - sw1 sw2
  - 62  81 83
  - 64  any except 00


Use another checker in the error checking chain, e.g., the
L{ISO7816_4_SW1ErrorChecker} or L{ISO7816_4ErrorChecker}, to raise
exceptions on these undefined values.
c                s    V\         9   d=   \         V,          w  rE\        V4      \        / 4      8X  d    WS,          pV! WW64      hR# R#   \         d     R# i ; i)zCalled to test data, sw1 and sw2 for error.

Derived classes must raise a L{smartcard.sw.SWExceptions} upon error.

@param data:       apdu response data
@param sw1:        apdu data status word 1
@param sw2:        apdu data status word 2
N)iso7816_9SWZtypeZKeyError)ZselfZdatasw1sw2Z	exceptionZsw2dirZmessages   &&&&   I/usr/lib64/python3.14/site-packages/smartcard/sw/ISO7816_9ErrorChecker.py__call__ZISO7816_9ErrorChecker.__call__O   s`     + +C 0IF|tBx'$kG#Ds<< (    s   A
 
AA N)__name__Z
__module__Z__qualname__Z__firstlineno____doc__r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   5   s     2     r   Z__main__Z Zx)r	   Zsmartcard.sw.SWExceptionsZ	smartcardZsmartcard.sw.ErrorCheckerr    ZswZSWExceptionsZWarningProcessingExceptionZExecutionErrorExceptionZCheckingErrorExceptionr   r   r   ZecsZeZprintZstrr   r   r   r
   r   <module>r      sd  0 ! 2 	!!<<	+, 	!!99	 ! 	!!88	./ 	!!886+'*		
2*L *Z zE

!CD$D$0Bd  <<$$;; 0c!f155)1QUU1I..//0s   
C" "%E1D>>E