comparison src/ch/ethz/ssh2/ConnectionInfo.java @ 307:071eccdff8ea ganymed

fix java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 30 Jul 2014 14:16:58 -0700
parents 91a31873c42a
children
comparison
equal deleted inserted replaced
305:d2b303406d63 307:071eccdff8ea
4 */ 4 */
5 package ch.ethz.ssh2; 5 package ch.ethz.ssh2;
6 6
7 /** 7 /**
8 * In most cases you probably do not need the information contained in here. 8 * In most cases you probably do not need the information contained in here.
9 * 9 *
10 * @author Christian Plattner 10 * @author Christian Plattner
11 * @version 2.50, 03/15/10 11 * @version 2.50, 03/15/10
12 */ 12 */
13 public class ConnectionInfo 13 public class ConnectionInfo {
14 { 14 /**
15 /** 15 * The used key exchange (KEX) algorithm in the latest key exchange.
16 * The used key exchange (KEX) algorithm in the latest key exchange. 16 */
17 */ 17 public String keyExchangeAlgorithm;
18 public String keyExchangeAlgorithm;
19 18
20 /** 19 /**
21 * The currently used crypto algorithm for packets from to the client to the 20 * The currently used crypto algorithm for packets from to the client to the
22 * server. 21 * server.
23 */ 22 */
24 public String clientToServerCryptoAlgorithm; 23 public String clientToServerCryptoAlgorithm;
25 /** 24 /**
26 * The currently used crypto algorithm for packets from to the server to the 25 * The currently used crypto algorithm for packets from to the server to the
27 * client. 26 * client.
28 */ 27 */
29 public String serverToClientCryptoAlgorithm; 28 public String serverToClientCryptoAlgorithm;
30 29
31 /** 30 /**
32 * The currently used MAC algorithm for packets from to the client to the 31 * The currently used MAC algorithm for packets from to the client to the
33 * server. 32 * server.
34 */ 33 */
35 public String clientToServerMACAlgorithm; 34 public String clientToServerMACAlgorithm;
36 /** 35 /**
37 * The currently used MAC algorithm for packets from to the server to the 36 * The currently used MAC algorithm for packets from to the server to the
38 * client. 37 * client.
39 */ 38 */
40 public String serverToClientMACAlgorithm; 39 public String serverToClientMACAlgorithm;
41 40
42 /** 41 /**
43 * The type of the server host key (currently either "ssh-dss" or 42 * The type of the server host key (currently either "ssh-dss" or
44 * "ssh-rsa"). 43 * "ssh-rsa").
45 */ 44 */
46 public String serverHostKeyAlgorithm; 45 public String serverHostKeyAlgorithm;
47
48 /**
49 * The server host key that was sent during the latest key exchange.
50 */
51 public byte[] serverHostKey;
52 46
53 /** 47 /**
54 * Number of kex exchanges performed on this connection so far. 48 * The server host key that was sent during the latest key exchange.
55 */ 49 */
56 public int keyExchangeCounter = 0; 50 public byte[] serverHostKey;
51
52 /**
53 * Number of kex exchanges performed on this connection so far.
54 */
55 public int keyExchangeCounter = 0;
57 } 56 }