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()
String
getKeyType()
int
getState()
protected static String[]
guess(byte[] I_S, byte[] I_C)
void
init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)
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 String getKeyType()


getState

public int getState()


guess

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


init

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


next

public boolean next(Buffer buf)
            throws Exception