ch.ethz.ssh2.transport
Class KexManager

java.lang.Object
  extended by ch.ethz.ssh2.transport.KexManager

public class KexManager
extends Object

KexManager.

Version:
$Id$
Author:
Christian Plattner

Constructor Summary
KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, String hostname, int port, ServerHostKeyVerifier keyVerifier, SecureRandom rnd)
           
 
Method Summary
static void checkKexAlgorithmList(String[] algos)
           
static void checkServerHostkeyAlgorithmsList(String[] algos)
           
static String[] getDefaultKexAlgorithmList()
           
static String[] getDefaultServerHostkeyAlgorithmList()
           
 ConnectionInfo getOrWaitForConnectionInfo(int minKexCount)
           
 void handleMessage(byte[] msg, int msglen)
           
 void initiateKEX(CryptoWishList cwl, DHGexParameters dhgex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KexManager

public KexManager(TransportManager tm,
                  ClientServerHello csh,
                  CryptoWishList initialCwl,
                  String hostname,
                  int port,
                  ServerHostKeyVerifier keyVerifier,
                  SecureRandom rnd)
Method Detail

getOrWaitForConnectionInfo

public ConnectionInfo getOrWaitForConnectionInfo(int minKexCount)
                                          throws IOException
Throws:
IOException

initiateKEX

public void initiateKEX(CryptoWishList cwl,
                        DHGexParameters dhgex)
                 throws IOException
Throws:
IOException

getDefaultServerHostkeyAlgorithmList

public static String[] getDefaultServerHostkeyAlgorithmList()

checkServerHostkeyAlgorithmsList

public static void checkServerHostkeyAlgorithmsList(String[] algos)

getDefaultKexAlgorithmList

public static String[] getDefaultKexAlgorithmList()

checkKexAlgorithmList

public static void checkKexAlgorithmList(String[] algos)

handleMessage

public void handleMessage(byte[] msg,
                          int msglen)
                   throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.