public abstract class KexManager extends Object implements MessageHandler
| Constructor and Description |
|---|
KexManager(TransportManager tm,
ClientServerHello csh,
CryptoWishList initialCwl,
SecureRandom rnd) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkKexAlgorithmList(String[] algos) |
static void |
checkServerHostkeyAlgorithmsList(String[] algos) |
protected void |
finishKex(boolean clientMode) |
static String[] |
getDefaultClientKexAlgorithmList() |
static String[] |
getDefaultServerHostkeyAlgorithmList() |
static String[] |
getDefaultServerKexAlgorithmList() |
ConnectionInfo |
getOrWaitForConnectionInfo(int minKexCount) |
void |
initiateKEX(CryptoWishList cwl,
DHGexParameters dhgex,
DSAPrivateKey dsa,
RSAPrivateKey rsa) |
protected NegotiatedParameters |
mergeKexParameters(KexParameters client,
KexParameters server) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleMessageprotected static final Logger log
public KexManager(TransportManager tm, ClientServerHello csh, CryptoWishList initialCwl, SecureRandom rnd)
public ConnectionInfo getOrWaitForConnectionInfo(int minKexCount) throws IOException
IOExceptionprotected NegotiatedParameters mergeKexParameters(KexParameters client, KexParameters server)
public void initiateKEX(CryptoWishList cwl, DHGexParameters dhgex, DSAPrivateKey dsa, RSAPrivateKey rsa) throws IOException
IOExceptionprotected void finishKex(boolean clientMode)
throws IOException
IOExceptionpublic static final String[] getDefaultServerHostkeyAlgorithmList()
public static final void checkServerHostkeyAlgorithmsList(String[] algos)
public static final String[] getDefaultClientKexAlgorithmList()
public static final String[] getDefaultServerKexAlgorithmList()
public static final void checkKexAlgorithmList(String[] algos)
Copyright © 2014. All Rights Reserved.