public class ConnectionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
clientToServerCryptoAlgorithm
The currently used crypto algorithm for packets from to the client to the
server.
|
java.lang.String |
clientToServerMACAlgorithm
The currently used MAC algorithm for packets from to the client to the
server.
|
java.lang.String |
keyExchangeAlgorithm
The used key exchange (KEX) algorithm in the latest key exchange.
|
int |
keyExchangeCounter
Number of kex exchanges performed on this connection so far.
|
byte[] |
serverHostKey
The server host key that was sent during the latest key exchange.
|
java.lang.String |
serverHostKeyAlgorithm
The type of the server host key (currently either "ssh-dss" or
"ssh-rsa").
|
java.lang.String |
serverToClientCryptoAlgorithm
The currently used crypto algorithm for packets from to the server to the
client.
|
java.lang.String |
serverToClientMACAlgorithm
The currently used MAC algorithm for packets from to the server to the
client.
|
Constructor and Description |
---|
ConnectionInfo() |
public java.lang.String keyExchangeAlgorithm
public java.lang.String clientToServerCryptoAlgorithm
public java.lang.String serverToClientCryptoAlgorithm
public java.lang.String clientToServerMACAlgorithm
public java.lang.String serverToClientMACAlgorithm
public java.lang.String serverHostKeyAlgorithm
public byte[] serverHostKey
public int keyExchangeCounter