comparison src/ch/ethz/ssh2/transport/KexManager.java @ 280:51d5f434ef6b ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 17:00:35 -0700
parents d7e088fa2123
children 486df527ddc5
comparison
equal deleted inserted replaced
279:e1c445af8e46 280:51d5f434ef6b
5 package ch.ethz.ssh2.transport; 5 package ch.ethz.ssh2.transport;
6 6
7 import java.io.IOException; 7 import java.io.IOException;
8 import java.io.InterruptedIOException; 8 import java.io.InterruptedIOException;
9 import java.security.DigestException; 9 import java.security.DigestException;
10 import java.security.KeyPair;
11 import java.security.PrivateKey;
10 import java.security.SecureRandom; 12 import java.security.SecureRandom;
13 import java.security.interfaces.DSAPrivateKey;
14 import java.security.interfaces.RSAPrivateKey;
15 import java.security.interfaces.ECPrivateKey;
11 import java.util.Arrays; 16 import java.util.Arrays;
12 17
13 import ch.ethz.ssh2.ConnectionInfo; 18 import ch.ethz.ssh2.ConnectionInfo;
14 import ch.ethz.ssh2.DHGexParameters; 19 import ch.ethz.ssh2.DHGexParameters;
15 import ch.ethz.ssh2.compression.CompressionFactory; 20 import ch.ethz.ssh2.compression.CompressionFactory;
20 import ch.ethz.ssh2.crypto.cipher.BlockCipherFactory; 25 import ch.ethz.ssh2.crypto.cipher.BlockCipherFactory;
21 import ch.ethz.ssh2.crypto.digest.MAC; 26 import ch.ethz.ssh2.crypto.digest.MAC;
22 import ch.ethz.ssh2.log.Logger; 27 import ch.ethz.ssh2.log.Logger;
23 import ch.ethz.ssh2.packets.PacketKexInit; 28 import ch.ethz.ssh2.packets.PacketKexInit;
24 import ch.ethz.ssh2.packets.PacketNewKeys; 29 import ch.ethz.ssh2.packets.PacketNewKeys;
25 import ch.ethz.ssh2.signature.DSAPrivateKey; 30 import java.security.interfaces.DSAPrivateKey;
26 import java.security.interfaces.RSAPrivateKey; 31 import java.security.interfaces.RSAPrivateKey;
32 import java.security.interfaces.ECPrivateKey;
27 33
28 /** 34 /**
29 * @version $Id: KexManager.java 152 2014-04-28 11:02:23Z dkocher@sudo.ch $ 35 * @version $Id: KexManager.java 152 2014-04-28 11:02:23Z dkocher@sudo.ch $
30 */ 36 */
31 public abstract class KexManager implements MessageHandler { 37 public abstract class KexManager implements MessageHandler {