Package com.trilead.ssh2.transport
Class KexManager
- java.lang.Object
-
- com.trilead.ssh2.transport.KexManager
-
public class KexManager extends java.lang.ObjectKexManager.
-
-
Constructor Summary
Constructors Constructor Description KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, java.lang.String hostname, int port, ServerHostKeyVerifier keyVerifier, java.security.SecureRandom rnd)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidcheckKexAlgorithmList(java.lang.String[] algos)static voidcheckServerHostkeyAlgorithmsList(java.lang.String[] algos)static java.lang.String[]getDefaultKexAlgorithmList()static java.lang.String[]getDefaultServerHostkeyAlgorithmList()ConnectionInfogetOrWaitForConnectionInfo(int minKexCount)voidhandleMessage(byte[] msg, int msglen)voidinitiateKEX(CryptoWishList cwl, DHGexParameters dhgex)
-
-
-
Constructor Detail
-
KexManager
public KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, java.lang.String hostname, int port, ServerHostKeyVerifier keyVerifier, java.security.SecureRandom rnd)
-
-
Method Detail
-
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
-
-