public class KexManager extends Object
Constructor and Description |
---|
KexManager(TransportManager tm,
ClientServerHello csh,
CryptoWishList initialCwl,
String hostname,
int port,
ServerHostKeyVerifier keyVerifier,
SecureRandom rnd) |
Modifier and Type | Method and Description |
---|---|
static void |
checkKexAlgorithmList(String[] algos) |
static void |
checkServerHostkeyAlgorithmsList(String[] algos) |
static String[] |
getDefaultKexAlgorithmList() |
static 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, String hostname, int port, ServerHostKeyVerifier keyVerifier, SecureRandom rnd)
public ConnectionInfo getOrWaitForConnectionInfo(int minKexCount) throws IOException
IOException
public void initiateKEX(CryptoWishList cwl, DHGexParameters dhgex) throws IOException
IOException
public static final String[] getDefaultServerHostkeyAlgorithmList()
public static final void checkServerHostkeyAlgorithmsList(String[] algos)
public static final String[] getDefaultKexAlgorithmList()
public static final void checkKexAlgorithmList(String[] algos)
public void handleMessage(byte[] msg, int msglen) throws IOException
IOException
Copyright © 2013. All rights reserved.