comparison src/ch/ethz/ssh2/transport/KexState.java @ 342:175c7d68f3c4

merge ganymed into mainline
author Carl Byington <carl@five-ten-sg.com>
date Thu, 31 Jul 2014 16:33:38 -0700
parents 9e42082d1f93
children
comparison
equal deleted inserted replaced
272:ce2f4e397703 342:175c7d68f3c4
1 /*
2 * Copyright (c) 2006-2011 Christian Plattner. All rights reserved.
3 * Please refer to the LICENSE.txt for licensing details.
4 */
5 package ch.ethz.ssh2.transport;
6
7 import ch.ethz.ssh2.DHGexParameters;
8 import ch.ethz.ssh2.crypto.dh.GenericDhExchange;
9 import ch.ethz.ssh2.crypto.dh.DhGroupExchange;
10 import java.math.BigInteger;
11 import ch.ethz.ssh2.packets.PacketKexInit;
12 import java.security.KeyPair;
13 import java.security.PrivateKey;
14 import java.security.interfaces.DSAPrivateKey;
15 import java.security.interfaces.RSAPrivateKey;
16 import java.security.interfaces.ECPrivateKey;
17
18 /**
19 * KexState.
20 *
21 * @author Christian Plattner
22 * @version 2.50, 03/15/10
23 */
24 public class KexState {
25 public PacketKexInit localKEX;
26 public PacketKexInit remoteKEX;
27 public NegotiatedParameters np;
28 public int state = 0;
29
30 public BigInteger K;
31 public byte[] H;
32
33 public byte[] remote_hostkey;
34
35 public String hashAlgo;
36 public GenericDhExchange dhx;
37 public DhGroupExchange dhgx;
38 public DHGexParameters dhgexParameters;
39
40 public KeyPair local_dsa_key;
41 public KeyPair local_rsa_key;
42 public KeyPair local_ec_key;
43 }