| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.transport.kex.SshKeyExchangecom.sshtools.j2ssh.transport.kex.DhGroup1Sha1public class DhGroup1Sha1extends SshKeyExchangeField Summary |
Fields inherited from class com.sshtools.j2ssh.transport.kex.SshKeyExchange | |
exchangeHash, hostKey, messageStore, secret, signature, transport | |
Constructor Summary | |
| |
Method Summary | |
protected void | |
protected void |
|
void |
|
void |
|
Methods inherited from class com.sshtools.j2ssh.transport.kex.SshKeyExchange | |
getExchangeHash, getHostKey, getSecret, getSignature, init, onInit, performClientExchange, performServerExchange, reset | |
protected void calculateExchangeHash()
throws KeyExchangeException
- Throws:
KeyExchangeException-
public void performClientExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
throws IOException
- Overrides:
- performClientExchange in interface SshKeyExchange
- Parameters:
clientId-serverId-clientKexInit-serverKexInit-
public void performServerExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvKey)
throws IOException
- Overrides:
- performServerExchange in interface SshKeyExchange
- Parameters:
clientId-serverId-clientKexInit-serverKexInit-prvKey-