0
|
1 package com.trilead.ssh2.transport;
|
|
2
|
|
3
|
|
4 import java.math.BigInteger;
|
|
5
|
|
6 import com.trilead.ssh2.DHGexParameters;
|
|
7 import com.trilead.ssh2.crypto.dh.DhGroupExchange;
|
|
8 import com.trilead.ssh2.crypto.dh.GenericDhExchange;
|
|
9 import com.trilead.ssh2.packets.PacketKexInit;
|
|
10
|
|
11 /**
|
|
12 * KexState.
|
|
13 *
|
|
14 * @author Christian Plattner, plattner@trilead.com
|
|
15 * @version $Id: KexState.java,v 1.1 2007/10/15 12:49:57 cplattne Exp $
|
|
16 */
|
|
17 public class KexState {
|
|
18 public PacketKexInit localKEX;
|
|
19 public PacketKexInit remoteKEX;
|
|
20 public NegotiatedParameters np;
|
|
21 public int state = 0;
|
|
22
|
|
23 public BigInteger K;
|
|
24 public byte[] H;
|
|
25
|
|
26 public byte[] hostkey;
|
|
27
|
|
28 public String hashAlgo;
|
|
29 public GenericDhExchange dhx;
|
|
30 public DhGroupExchange dhgx;
|
|
31 public DHGexParameters dhgexParameters;
|
|
32 }
|