Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/transport/KexState.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 | 4ec87de11e71 |
comparison
equal
deleted
inserted
replaced
279:e1c445af8e46 | 280:51d5f434ef6b |
---|---|
7 import ch.ethz.ssh2.DHGexParameters; | 7 import ch.ethz.ssh2.DHGexParameters; |
8 import ch.ethz.ssh2.crypto.dh.DhExchange; | 8 import ch.ethz.ssh2.crypto.dh.DhExchange; |
9 import ch.ethz.ssh2.crypto.dh.DhGroupExchange; | 9 import ch.ethz.ssh2.crypto.dh.DhGroupExchange; |
10 import java.math.BigInteger; | 10 import java.math.BigInteger; |
11 import ch.ethz.ssh2.packets.PacketKexInit; | 11 import ch.ethz.ssh2.packets.PacketKexInit; |
12 import ch.ethz.ssh2.signature.DSAPrivateKey; | 12 import java.security.KeyPair; |
13 import java.security.PrivateKey; | |
14 import java.security.interfaces.DSAPrivateKey; | |
13 import java.security.interfaces.RSAPrivateKey; | 15 import java.security.interfaces.RSAPrivateKey; |
16 import java.security.interfaces.ECPrivateKey; | |
14 | 17 |
15 /** | 18 /** |
16 * KexState. | 19 * KexState. |
17 * | 20 * |
18 * @author Christian Plattner | 21 * @author Christian Plattner |
19 * @version 2.50, 03/15/10 | 22 * @version 2.50, 03/15/10 |
20 */ | 23 */ |
21 public class KexState | 24 public class KexState |
22 { | 25 { |
25 public NegotiatedParameters np; | 28 public NegotiatedParameters np; |
26 public int state = 0; | 29 public int state = 0; |
27 | 30 |
28 public BigInteger K; | 31 public BigInteger K; |
29 public byte[] H; | 32 public byte[] H; |
30 | 33 |
31 public byte[] remote_hostkey; | 34 public byte[] remote_hostkey; |
32 | 35 |
33 public DhExchange dhx; | 36 public DhExchange dhx; |
34 public DhGroupExchange dhgx; | 37 public DhGroupExchange dhgx; |
35 public DHGexParameters dhgexParameters; | 38 public DHGexParameters dhgexParameters; |
36 | 39 |
37 public DSAPrivateKey local_dsa_key; | 40 public DSAPrivateKey local_dsa_key; |
38 public RSAPrivateKey local_rsa_key; | 41 public RSAPrivateKey local_rsa_key; |
42 public ECPrivateKey local_ec_key; | |
39 } | 43 } |