Package com.trilead.ssh2
Class ConnectionInfo
java.lang.Object
com.trilead.ssh2.ConnectionInfo
public class ConnectionInfo extends Object
In most cases you probably do not need the information contained in here.
- Version:
- $Id: ConnectionInfo.java,v 1.1 2007/10/15 12:49:56 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com
-
Field Summary
Fields Modifier and Type Field Description StringclientToServerCryptoAlgorithmThe currently used crypto algorithm for packets from to the client to the server.StringclientToServerMACAlgorithmThe currently used MAC algorithm for packets from to the client to the server.StringkeyExchangeAlgorithmThe used key exchange (KEX) algorithm in the latest key exchange.intkeyExchangeCounterNumber of kex exchanges performed on this connection so far.byte[]serverHostKeyThe server host key that was sent during the latest key exchange.StringserverHostKeyAlgorithmThe type of the server host keyStringserverToClientCryptoAlgorithmThe currently used crypto algorithm for packets from to the server to the client.StringserverToClientMACAlgorithmThe currently used MAC algorithm for packets from to the server to the client. -
Constructor Summary
Constructors Constructor Description ConnectionInfo() -
Method Summary
-
Field Details
-
keyExchangeAlgorithm
The used key exchange (KEX) algorithm in the latest key exchange. -
clientToServerCryptoAlgorithm
The currently used crypto algorithm for packets from to the client to the server. -
serverToClientCryptoAlgorithm
The currently used crypto algorithm for packets from to the server to the client. -
clientToServerMACAlgorithm
The currently used MAC algorithm for packets from to the client to the server. -
serverToClientMACAlgorithm
The currently used MAC algorithm for packets from to the server to the client. -
serverHostKeyAlgorithm
The type of the server host key -
serverHostKey
public byte[] serverHostKeyThe server host key that was sent during the latest key exchange. -
keyExchangeCounter
public int keyExchangeCounterNumber of kex exchanges performed on this connection so far.
-
-
Constructor Details
-
ConnectionInfo
public ConnectionInfo()
-