comparison src/ch/ethz/ssh2/ConnectionInfo.java @ 273:91a31873c42a ganymed

start conversion from trilead to ganymed
author Carl Byington <carl@five-ten-sg.com>
date Fri, 18 Jul 2014 11:21:46 -0700
parents
children 071eccdff8ea
comparison
equal deleted inserted replaced
272:ce2f4e397703 273:91a31873c42a
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 /**
16 * The used key exchange (KEX) algorithm in the latest key exchange.
17 */
18 public String keyExchangeAlgorithm;
19
20 /**
21 * The currently used crypto algorithm for packets from to the client to the
22 * server.
23 */
24 public String clientToServerCryptoAlgorithm;
25 /**
26 * The currently used crypto algorithm for packets from to the server to the
27 * client.
28 */
29 public String serverToClientCryptoAlgorithm;
30
31 /**
32 * The currently used MAC algorithm for packets from to the client to the
33 * server.
34 */
35 public String clientToServerMACAlgorithm;
36 /**
37 * The currently used MAC algorithm for packets from to the server to the
38 * client.
39 */
40 public String serverToClientMACAlgorithm;
41
42 /**
43 * The type of the server host key (currently either "ssh-dss" or
44 * "ssh-rsa").
45 */
46 public String serverHostKeyAlgorithm;
47
48 /**
49 * The server host key that was sent during the latest key exchange.
50 */
51 public byte[] serverHostKey;
52
53 /**
54 * Number of kex exchanges performed on this connection so far.
55 */
56 public int keyExchangeCounter = 0;
57 }