com.jcraft.jsch
Class KeyExchange
java.lang.Object
   com.jcraft.jsch.KeyExchange
com.jcraft.jsch.KeyExchange
- Direct Known Subclasses: 
- DHG1, DHG14, DHGEX, DHGEX256
- public abstract class KeyExchange 
- extends java.lang.Object
 
 
| Method Summary | 
|  java.lang.String | getFingerPrint()
 | 
| abstract  java.lang.String | getKeyType()
 | 
| abstract  int | getState()
 | 
| protected static java.lang.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)
 | 
| protected  byte[] | normalize(byte[] secret)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
STATE_END
public static final int STATE_END
- See Also:
- Constant Field Values
session
protected Session session
sha
protected HASH sha
K
protected byte[] K
H
protected byte[] H
K_S
protected byte[] K_S
KeyExchange
public KeyExchange()
init
public abstract void init(Session session,
                          byte[] V_S,
                          byte[] V_C,
                          byte[] I_S,
                          byte[] I_C)
                   throws java.lang.Exception
- 
- Throws:
- java.lang.Exception
 
next
public abstract boolean next(Buffer buf)
                      throws java.lang.Exception
- 
- Throws:
- java.lang.Exception
 
getKeyType
public abstract java.lang.String getKeyType()
- 
 
getState
public abstract int getState()
- 
 
guess
protected static java.lang.String[] guess(byte[] I_S,
                                          byte[] I_C)
- 
 
getFingerPrint
public java.lang.String getFingerPrint()
- 
 
normalize
protected byte[] normalize(byte[] secret)
-