com.trilead.ssh2.transport
public class KexManager extends java.lang.Object
Constructor and Description |
---|
KexManager(TransportManager tm,
ClientServerHello csh,
CryptoWishList initialCwl,
java.lang.String hostname,
int port,
ServerHostKeyVerifier keyVerifier,
java.security.SecureRandom rnd) |
Modifier and Type | Method and Description |
---|---|
static void |
checkKexAlgorithmList(java.lang.String[] algos) |
static void |
checkServerHostkeyAlgorithmsList(java.lang.String[] algos) |
static java.lang.String[] |
getDefaultKexAlgorithmList() |
static java.lang.String[] |
getDefaultServerHostkeyAlgorithmList() |
ConnectionInfo |
getOrWaitForConnectionInfo(int minKexCount) |
void |
handleMessage(byte[] msg,
int msglen) |
void |
initiateKEX(CryptoWishList cwl,
DHGexParameters dhgex) |
public KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, java.lang.String hostname, int port, ServerHostKeyVerifier keyVerifier, java.security.SecureRandom rnd)
public ConnectionInfo getOrWaitForConnectionInfo(int minKexCount) throws java.io.IOException
java.io.IOException
public void initiateKEX(CryptoWishList cwl, DHGexParameters dhgex) throws java.io.IOException
java.io.IOException
public static final java.lang.String[] getDefaultServerHostkeyAlgorithmList()
public static final void checkServerHostkeyAlgorithmsList(java.lang.String[] algos)
public static final java.lang.String[] getDefaultKexAlgorithmList()
public static final void checkKexAlgorithmList(java.lang.String[] algos)
public void handleMessage(byte[] msg, int msglen) throws java.io.IOException
java.io.IOException
Copyright © 2014. All Rights Reserved.