com.sshtools.j2ssh.transport.kex
Class KeyExchangeState
java.lang.Object
com.sshtools.j2ssh.transport.kex.KeyExchangeState
public class KeyExchangeState
extends java.lang.Object
COMPLETE
public static final int COMPLETE
FAILED
public static final int FAILED
IN_PROGRESS
public static final int IN_PROGRESS
KeyExchangeState
public KeyExchangeState()
Creates a new KeyExchangeState object.
getExchangeHash
public byte[] getExchangeHash()
getFailureReason
public String getFailureReason()
getHostKey
public byte[] getHostKey()
getSecret
public BigInteger getSecret()
getSignature
public byte[] getSignature()
getState
public int getState()
setComplete
public final void setComplete(byte[] exchangeHash,
byte[] hostKey,
byte[] signature,
BigInteger secret)
exchangeHash
- hostKey
- signature
- secret
-
setFailed
public final void setFailed(String reason)
waitForCompletion
public final void waitForCompletion()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.