com.sshtools.j2ssh.transport.kex
Class SshKeyExchange
java.lang.Object
com.sshtools.j2ssh.transport.kex.SshKeyExchange
public abstract class SshKeyExchange
extends java.lang.Object
exchangeHash
protected byte[] exchangeHash
hostKey
protected byte[] hostKey
secret
protected BigInteger secret
signature
protected byte[] signature
SshKeyExchange
public SshKeyExchange()
Creates a new SshKeyExchange object.
getExchangeHash
public byte[] getExchangeHash()
getHostKey
public byte[] getHostKey()
getSecret
public BigInteger getSecret()
getSignature
public byte[] getSignature()
onInit
protected abstract void onInit()
throws IOException
performClientExchange
public abstract void performClientExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit)
throws IOException
clientId
- serverId
- clientKexInit
- serverKexInit
-
performServerExchange
public abstract void performServerExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey)
throws IOException
clientId
- serverId
- clientKexInit
- serverKexInit
- prvkey
-
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.