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, reset
protected void onInit() throws java.io.IOException
onInit
in class SshKeyExchange
java.io.IOException
AlgorithmNotSupportedException
public void performClientExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit) throws java.io.IOException
performClientExchange
in class SshKeyExchange
clientId
- serverId
- clientKexInit
- serverKexInit
- java.io.IOException
AlgorithmOperationException
KeyExchangeException
public void performServerExchange(java.lang.String clientId, java.lang.String serverId, byte[] clientKexInit, byte[] serverKexInit, SshPrivateKey prvKey) throws java.io.IOException
performServerExchange
in class SshKeyExchange
clientId
- serverId
- clientKexInit
- serverKexInit
- prvKey
- java.io.IOException
KeyExchangeException
protected void calculateExchangeHash() throws KeyExchangeException
KeyExchangeException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.