comparison src/ch/ethz/ssh2/transport/KexState.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children d7e088fa2123
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
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.DhExchange;
9 import ch.ethz.ssh2.crypto.dh.DhGroupExchange;
10 import java.math.BigInteger;
11 import ch.ethz.ssh2.packets.PacketKexInit;
12 import ch.ethz.ssh2.signature.DSAPrivateKey;
13 import ch.ethz.ssh2.signature.RSAPrivateKey;
14
15 /**
16 * KexState.
17 *
18 * @author Christian Plattner
19 * @version 2.50, 03/15/10
20 */
21 public class KexState
22 {
23 public PacketKexInit localKEX;
24 public PacketKexInit remoteKEX;
25 public NegotiatedParameters np;
26 public int state = 0;
27
28 public BigInteger K;
29 public byte[] H;
30
31 public byte[] remote_hostkey;
32
33 public DhExchange dhx;
34 public DhGroupExchange dhgx;
35 public DHGexParameters dhgexParameters;
36
37 public DSAPrivateKey local_dsa_key;
38 public RSAPrivateKey local_rsa_key;
39 }