Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/transport/NegotiatedParameters.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.transport; | |
6 | |
7 /** | |
8 * @author Christian Plattner | |
9 * @version $Id: NegotiatedParameters.java 159 2014-05-01 14:12:34Z dkocher@sudo.ch $ | |
10 */ | |
11 public class NegotiatedParameters | |
12 { | |
13 public boolean guessOK; | |
14 public String kex_algo; | |
15 public String server_host_key_algo; | |
16 public String enc_algo_client_to_server; | |
17 public String enc_algo_server_to_client; | |
18 public String mac_algo_client_to_server; | |
19 public String mac_algo_server_to_client; | |
20 public String comp_algo_client_to_server; | |
21 public String comp_algo_server_to_client; | |
22 public String lang_client_to_server; | |
23 public String lang_server_to_client; | |
24 | |
25 @Override | |
26 public String toString() { | |
27 final StringBuilder sb = new StringBuilder("NegotiatedParameters{"); | |
28 sb.append("guessOK=").append(guessOK); | |
29 sb.append(", kex_algo='").append(kex_algo).append('\''); | |
30 sb.append(", server_host_key_algo='").append(server_host_key_algo).append('\''); | |
31 sb.append(", enc_algo_client_to_server='").append(enc_algo_client_to_server).append('\''); | |
32 sb.append(", enc_algo_server_to_client='").append(enc_algo_server_to_client).append('\''); | |
33 sb.append(", mac_algo_client_to_server='").append(mac_algo_client_to_server).append('\''); | |
34 sb.append(", mac_algo_server_to_client='").append(mac_algo_server_to_client).append('\''); | |
35 sb.append(", comp_algo_client_to_server='").append(comp_algo_client_to_server).append('\''); | |
36 sb.append(", comp_algo_server_to_client='").append(comp_algo_server_to_client).append('\''); | |
37 sb.append(", lang_client_to_server='").append(lang_client_to_server).append('\''); | |
38 sb.append(", lang_server_to_client='").append(lang_server_to_client).append('\''); | |
39 sb.append('}'); | |
40 return sb.toString(); | |
41 } | |
42 } |