Mercurial > 510Connectbot
comparison src/ch/ethz/ssh2/transport/TransportManager.java @ 280:51d5f434ef6b ganymed
start conversion from trilead to ganymed
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 18 Jul 2014 17:00:35 -0700 |
parents | d7e088fa2123 |
children | 4ec87de11e71 |
comparison
equal
deleted
inserted
replaced
279:e1c445af8e46 | 280:51d5f434ef6b |
---|---|
5 | 5 |
6 package ch.ethz.ssh2.transport; | 6 package ch.ethz.ssh2.transport; |
7 | 7 |
8 import java.io.IOException; | 8 import java.io.IOException; |
9 import java.io.InterruptedIOException; | 9 import java.io.InterruptedIOException; |
10 import java.security.KeyPair; | |
11 import java.security.PrivateKey; | |
12 import java.security.interfaces.DSAPrivateKey; | |
13 import java.security.interfaces.ECPrivateKey; | |
14 import java.security.interfaces.RSAPrivateKey; | |
10 import java.net.Socket; | 15 import java.net.Socket; |
11 import java.util.ArrayList; | 16 import java.util.ArrayList; |
12 import java.util.List; | 17 import java.util.List; |
13 | 18 |
14 import ch.ethz.ssh2.ConnectionInfo; | 19 import ch.ethz.ssh2.ConnectionInfo; |
21 import ch.ethz.ssh2.crypto.digest.MAC; | 26 import ch.ethz.ssh2.crypto.digest.MAC; |
22 import ch.ethz.ssh2.log.Logger; | 27 import ch.ethz.ssh2.log.Logger; |
23 import ch.ethz.ssh2.packets.PacketDisconnect; | 28 import ch.ethz.ssh2.packets.PacketDisconnect; |
24 import ch.ethz.ssh2.packets.Packets; | 29 import ch.ethz.ssh2.packets.Packets; |
25 import ch.ethz.ssh2.packets.TypesReader; | 30 import ch.ethz.ssh2.packets.TypesReader; |
26 import ch.ethz.ssh2.signature.DSAPrivateKey; | |
27 import java.security.interfaces.RSAPrivateKey; | |
28 | 31 |
29 /** | 32 /** |
30 * Yes, the "standard" is a big mess. On one side, the say that arbitrary channel | 33 * Yes, the "standard" is a big mess. On one side, the say that arbitrary channel |
31 * packets are allowed during kex exchange, on the other side we need to blindly | 34 * packets are allowed during kex exchange, on the other side we need to blindly |
32 * ignore the next _packet_ if the KEX guess was wrong. Where do we know from that | 35 * ignore the next _packet_ if the KEX guess was wrong. Where do we know from that |