01: package ch.ethz.ssh2.transport;
02:
03: import ch.ethz.ssh2.DHGexParameters;
04: import ch.ethz.ssh2.crypto.dh.DhExchange;
05: import ch.ethz.ssh2.crypto.dh.DhGroupExchange;
06: import java.math.BigInteger;
07: import ch.ethz.ssh2.packets.PacketKexInit;
08:
09: /**
10: * KexState.
11: *
12: * @author Christian Plattner, plattner@inf.ethz.ch
13: * @version $Id: KexState.java,v 1.3 2005/06/06 12:44:23 cplattne Exp $
14: */
15: public class KexState {
16: public PacketKexInit localKEX;
17: public PacketKexInit remoteKEX;
18: public NegotiatedParameters np;
19: public int state = 0;
20:
21: public BigInteger K;
22: public byte[] H;
23:
24: public byte[] hostkey;
25:
26: public DhExchange dhx;
27: public DhGroupExchange dhgx;
28: public DHGexParameters dhgexParameters;
29: }
|