com.sshtools.j2ssh.transport.kex
Class DhGroup1Sha1
java.lang.Object
com.sshtools.j2ssh.transport.kex.SshKeyExchange
com.sshtools.j2ssh.transport.kex.DhGroup1Sha1
public class DhGroup1Sha1
- extends SshKeyExchange
- Version:
- $Revision: 1.25 $
- Author:
- $author$
Constructor Summary |
DhGroup1Sha1()
Creates a new DhGroup1Sha1 object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DhGroup1Sha1
public DhGroup1Sha1()
- Creates a new DhGroup1Sha1 object.
onInit
protected void onInit()
throws java.io.IOException
- Specified by:
onInit
in class SshKeyExchange
- Throws:
java.io.IOException
AlgorithmNotSupportedException
performClientExchange
public void performClientExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
throws java.io.IOException
- Specified by:
performClientExchange
in class SshKeyExchange
- Parameters:
clientId
- serverId
- clientKexInit
- serverKexInit
-
- Throws:
java.io.IOException
AlgorithmOperationException
KeyExchangeException
performServerExchange
public void performServerExchange(java.lang.String clientId,
java.lang.String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvKey)
throws java.io.IOException
- Specified by:
performServerExchange
in class SshKeyExchange
- Parameters:
clientId
- serverId
- clientKexInit
- serverKexInit
- prvKey
-
- Throws:
java.io.IOException
KeyExchangeException
calculateExchangeHash
protected void calculateExchangeHash()
throws KeyExchangeException
- Throws:
KeyExchangeException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.