def getKex(kexAlgorithm):
 if (kexAlgorithm not in _kexAlgorithms):
  raise error.ConchError(('Unsupported key exchange algorithm: %s' % (kexAlgorithm,)))
 return _kexAlgorithms[kexAlgorithm]

def getKex ( kexAlgorithm ) : if ( kexAlgorithm not in _kexAlgorithms ) : raise error . ConchError ( ( 'Unsupported key exchange algorithm: %s' % ( kexAlgorithm , ) ) ) return _kexAlgorithms [ kexAlgorithm ]
get a description of a named key exchange algorithm .