Mercurial > 510Connectbot
comparison app/src/main/java/ch/ethz/ssh2/ConnectionInfo.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/ConnectionInfo.java@071eccdff8ea |
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; | |
6 | |
7 /** | |
8 * In most cases you probably do not need the information contained in here. | |
9 * | |
10 * @author Christian Plattner | |
11 * @version 2.50, 03/15/10 | |
12 */ | |
13 public class ConnectionInfo { | |
14 /** | |
15 * The used key exchange (KEX) algorithm in the latest key exchange. | |
16 */ | |
17 public String keyExchangeAlgorithm; | |
18 | |
19 /** | |
20 * The currently used crypto algorithm for packets from to the client to the | |
21 * server. | |
22 */ | |
23 public String clientToServerCryptoAlgorithm; | |
24 /** | |
25 * The currently used crypto algorithm for packets from to the server to the | |
26 * client. | |
27 */ | |
28 public String serverToClientCryptoAlgorithm; | |
29 | |
30 /** | |
31 * The currently used MAC algorithm for packets from to the client to the | |
32 * server. | |
33 */ | |
34 public String clientToServerMACAlgorithm; | |
35 /** | |
36 * The currently used MAC algorithm for packets from to the server to the | |
37 * client. | |
38 */ | |
39 public String serverToClientMACAlgorithm; | |
40 | |
41 /** | |
42 * The type of the server host key (currently either "ssh-dss" or | |
43 * "ssh-rsa"). | |
44 */ | |
45 public String serverHostKeyAlgorithm; | |
46 | |
47 /** | |
48 * The server host key that was sent during the latest key exchange. | |
49 */ | |
50 public byte[] serverHostKey; | |
51 | |
52 /** | |
53 * Number of kex exchanges performed on this connection so far. | |
54 */ | |
55 public int keyExchangeCounter = 0; | |
56 } |