#NEWLINE# def _loads( self , xmldata , decode = True , origxml = None ) : #NEWLINE# #INDENT# self . xmlstr = xmldata [ : ] #NEWLINE# logger . debug ( ( 'xmlstr: %s' % ( self . xmlstr , ) ) ) #NEWLINE# if origxml : #NEWLINE# #INDENT# self . origxml = origxml #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . origxml = self . xmlstr #NEWLINE# #UNINDENT# try : #NEWLINE# #INDENT# self . response = self . signature_check ( xmldata , origdoc = origxml , must = self . require_signature , require_response_signature = self . require_response_signature ) #NEWLINE# #UNINDENT# except TypeError : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except SignatureError : #NEWLINE# #INDENT# raise #NEWLINE# #UNINDENT# except Exception as excp : #NEWLINE# #INDENT# logger . exception ( 'EXCEPTION: %s' , excp ) #NEWLINE# raise #NEWLINE# #UNINDENT# return self . _postamble ( )