ch.ethz.ssh2.transport
Class KexManager
java.lang.Object
ch.ethz.ssh2.transport.KexManager
public class KexManager
- extends Object
KexManager.
- Version:
- $Id$
- Author:
- Christian Plattner
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KexManager
public KexManager(TransportManager tm,
ClientServerHello csh,
CryptoWishList initialCwl,
String hostname,
int port,
ServerHostKeyVerifier keyVerifier,
SecureRandom rnd)
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.