com.trilead.ssh2.transport
Class KexManager
java.lang.Object
com.trilead.ssh2.transport.KexManager
public class KexManager
- extends java.lang.Object
KexManager.
- Version:
- $Id: KexManager.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
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,
java.lang.String hostname,
int port,
ServerHostKeyVerifier keyVerifier,
java.security.SecureRandom rnd)
getOrWaitForConnectionInfo
public ConnectionInfo getOrWaitForConnectionInfo(int minKexCount)
throws java.io.IOException
- Throws:
java.io.IOException
initiateKEX
public void initiateKEX(CryptoWishList cwl,
DHGexParameters dhgex)
throws java.io.IOException
- Throws:
java.io.IOException
getDefaultServerHostkeyAlgorithmList
public static final java.lang.String[] getDefaultServerHostkeyAlgorithmList()
checkServerHostkeyAlgorithmsList
public static final void checkServerHostkeyAlgorithmsList(java.lang.String[] algos)
getDefaultKexAlgorithmList
public static final java.lang.String[] getDefaultKexAlgorithmList()
checkKexAlgorithmList
public static final void checkKexAlgorithmList(java.lang.String[] algos)
handleMessage
public void handleMessage(byte[] msg,
int msglen)
throws java.io.IOException
- Throws:
java.io.IOException
1232432