com.jcraft.jsch

Class KeyExchange

Known Direct Subclasses:
DHG1, DHGEX

public abstract class KeyExchange
extends java.lang.Object

Field Summary

protected byte[]
H
protected byte[]
K
protected byte[]
K_S
static int
STATE_END
String[]
guess
protected Session
session
protected HASH
sha

Method Summary

String
getFingerPrint()
abstract String
getKeyType()
abstract int
getState()
protected static String[]
guess(byte[] I_S, byte[] I_C)
abstract void
init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)
abstract boolean
next(Buffer buf)

Field Details

H

protected byte[] H

K

protected byte[] K

K_S

protected byte[] K_S

STATE_END

public static final int STATE_END
Field Value:
0

guess

public String[] guess

session

protected Session session

sha

protected HASH sha

Method Details

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)
            throws Exception

next

public abstract boolean next(Buffer buf)
            throws Exception