comparison src/com/trilead/ssh2/ConnectionInfo.java @ 0:0ce5cc452d02

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