Mercurial > 510Connectbot
comparison app/src/main/java/ch/ethz/ssh2/transport/KexState.java @ 438:d29cce60f393
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 11:23:55 -0800 |
parents | src/ch/ethz/ssh2/transport/KexState.java@9e42082d1f93 |
children |
comparison
equal
deleted
inserted
replaced
437:208b31032318 | 438:d29cce60f393 |
---|---|
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 } |