code: def doGetAttrib(self, attribId):
          
          CardConnection.doGetAttrib(self, attribId)
          hresult, response = SCardGetAttrib(self.hcard, attribId)
          if hresult != 0:
              raise SmartcardException(
                  'Failed to getAttrib ' + SCardGetErrorMessage(hresult))
          return response
docs: get an attribute
  
          attribId: Identifier for the attribute to get
  
          return:   response are the attribute byte array