public class DhGroup1Sha1 extends SshKeyExchange
exchangeHash, hostKey, messageStore, secret, signature, transport| Constructor and Description |
|---|
DhGroup1Sha1()
Creates a new DhGroup1Sha1 object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateExchangeHash() |
protected void |
onInit() |
void |
performClientExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit) |
void |
performServerExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvKey) |
getExchangeHash, getHostKey, getSecret, getSignature, init, resetprotected void onInit()
throws java.io.IOException
onInit in class SshKeyExchangejava.io.IOExceptionAlgorithmNotSupportedExceptionpublic void performClientExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
throws java.io.IOException
performClientExchange in class SshKeyExchangeclientId - serverId - clientKexInit - serverKexInit - java.io.IOExceptionAlgorithmOperationExceptionKeyExchangeExceptionpublic void performServerExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvKey)
throws java.io.IOException
performServerExchange in class SshKeyExchangeclientId - serverId - clientKexInit - serverKexInit - prvKey - java.io.IOExceptionKeyExchangeExceptionprotected void calculateExchangeHash()
throws KeyExchangeException
KeyExchangeExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.