com.jcraft.jsch

Class KeyExchange

public abstract class KeyExchange extends Object

Field Summary
String[]guess
protected byte[]H
protected byte[]K
protected byte[]K_S
protected Sessionsession
protected HASHsha
static intSTATE_END
Method Summary
StringgetFingerPrint()
abstract StringgetKeyType()
abstract intgetState()
protected static String[]guess(byte[] I_S, byte[] I_C)
abstract voidinit(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)
abstract booleannext(Buffer buf)

Field Detail

guess

public String[] guess

H

protected byte[] H

K

protected byte[] K

K_S

protected byte[] K_S

session

protected Session session

sha

protected HASH sha

STATE_END

public static final int STATE_END

Method Detail

getFingerPrint

public String getFingerPrint()

getKeyType

public abstract String getKeyType()

getState

public abstract int getState()

guess

protected static String[] guess(byte[] I_S, byte[] I_C)

init

public abstract void init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)

next

public abstract boolean next(Buffer buf)