def parseXMLKey(s, private=False, public=False, implementations=['python']):
 for implementation in implementations:
  if (implementation == 'python'):
   key = Python_RSAKey.parseXML(s)
   break
 else:
  raise ValueError('No acceptable implementations')
 return _parseKeyHelper(key, private, public)

def parseXMLKey ( s , private = False , public = False , implementations = [ 'python' ] ) : for implementation in implementations : if ( implementation == 'python' ) : key = Python_RSAKey . parseXML ( s ) break else : raise ValueError ( 'No acceptable implementations' ) return _parseKeyHelper ( key , private , public )
parse an xml-format key .