com.sshtools.j2ssh.transport.kex
Class SshKeyExchange
java.lang.Objectcom.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 IOExceptionclientId - serverId - clientKexInit - serverKexInit -
performServerExchange
public abstract void performServerExchange(String clientId,
String serverId,
byte[] clientKexInit,
byte[] serverKexInit,
SshPrivateKey prvkey)
throws IOExceptionclientId - serverId - clientKexInit - serverKexInit - prvkey -
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.