com.sshtools.j2ssh.transport.kex
Class KeyExchangeState
java.lang.Object
com.sshtools.j2ssh.transport.kex.KeyExchangeState
public class KeyExchangeState
- extends java.lang.Object
- Version:
- $Revision: 1.16 $
- Author:
- $author$
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IN_PROGRESS
public static final int IN_PROGRESS
- See Also:
- Constant Field Values
COMPLETE
public static final int COMPLETE
- See Also:
- Constant Field Values
FAILED
public static final int FAILED
- See Also:
- Constant Field Values
KeyExchangeState
public KeyExchangeState()
- Creates a new KeyExchangeState object.
setComplete
public final void setComplete(byte[] exchangeHash,
byte[] hostKey,
byte[] signature,
java.math.BigInteger secret)
- Parameters:
exchangeHash
- hostKey
- signature
- secret
-
getExchangeHash
public byte[] getExchangeHash()
- Returns:
setFailed
public final void setFailed(java.lang.String reason)
- Parameters:
reason
-
getHostKey
public byte[] getHostKey()
- Returns:
getSecret
public java.math.BigInteger getSecret()
- Returns:
getSignature
public byte[] getSignature()
- Returns:
getState
public int getState()
- Returns:
waitForCompletion
public final void waitForCompletion()
getFailureReason
public java.lang.String getFailureReason()
- Returns:
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.