comparison src/ch/ethz/ssh2/transport/KexState.java @ 310:9e42082d1f93 ganymed

add ecdsa key support everywhere
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:42:55 -0700
parents 071eccdff8ea
children
comparison
equal deleted inserted replaced
309:cb179051f0f2 310:9e42082d1f93
3 * Please refer to the LICENSE.txt for licensing details. 3 * Please refer to the LICENSE.txt for licensing details.
4 */ 4 */
5 package ch.ethz.ssh2.transport; 5 package ch.ethz.ssh2.transport;
6 6
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.GenericDhExchange;
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 java.security.KeyPair; 12 import java.security.KeyPair;
13 import java.security.PrivateKey; 13 import java.security.PrivateKey;
30 public BigInteger K; 30 public BigInteger K;
31 public byte[] H; 31 public byte[] H;
32 32
33 public byte[] remote_hostkey; 33 public byte[] remote_hostkey;
34 34
35 public DhExchange dhx; 35 public String hashAlgo;
36 public GenericDhExchange dhx;
36 public DhGroupExchange dhgx; 37 public DhGroupExchange dhgx;
37 public DHGexParameters dhgexParameters; 38 public DHGexParameters dhgexParameters;
38 39
39 public KeyPair local_dsa_key; 40 public KeyPair local_dsa_key;
40 public KeyPair local_rsa_key; 41 public KeyPair local_rsa_key;