Package com.trilead.ssh2.transport
Class KexManager
java.lang.Object
com.trilead.ssh2.transport.KexManager
KexManager.
-
Constructor Summary
ConstructorsConstructorDescriptionKexManager
(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, String hostname, int port, ServerHostKeyVerifier keyVerifier, SecureRandom rnd) -
Method Summary
Modifier and TypeMethodDescriptionstatic final void
checkKexAlgorithmList
(String[] algos) static final void
checkServerHostkeyAlgorithmsList
(String[] algos) static final String[]
static final String[]
getOrWaitForConnectionInfo
(int minKexCount) void
handleMessage
(byte[] msg, int msglen) void
initiateKEX
(CryptoWishList cwl, DHGexParameters dhgex)
-
Constructor Details
-
KexManager
public KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, String hostname, int port, ServerHostKeyVerifier keyVerifier, SecureRandom rnd)
-
-
Method Details
-
getOrWaitForConnectionInfo
- Throws:
IOException
-
initiateKEX
- Throws:
IOException
-
getDefaultServerHostkeyAlgorithmList
-
checkServerHostkeyAlgorithmsList
-
getDefaultKexAlgorithmList
-
checkKexAlgorithmList
-
handleMessage
- Throws:
IOException
-