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 13 /** 14 * KexState. 15 * 16 * @author Christian Plattner 17 * @version 2.50, 03/15/10 18 */ 19 public class KexState 20 { 21 public PacketKexInit localKEX; 22 public PacketKexInit remoteKEX; 23 public NegotiatedParameters np; 24 public int state = 0; 25 26 public BigInteger K; 27 public byte[] H; 28 29 public byte[] hostkey; 30 31 public DhExchange dhx; 32 public DhGroupExchange dhgx; 33 public DHGexParameters dhgexParameters; 34 } 35