com.jcraft.jsch
Class KeyExchange
java.lang.Object
com.jcraft.jsch.KeyExchange
- Direct Known Subclasses:
- DHG1, DHG14, DHGEX, DHGEX256
public abstract class KeyExchange
- extends Object
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 Exception
- Throws:
Exception
next
public abstract boolean next(Buffer buf)
throws Exception
- Throws:
Exception
getKeyType
public abstract String getKeyType()
getState
public abstract int getState()
guess
protected static String[] guess(byte[] I_S,
byte[] I_C)
getFingerPrint
public String getFingerPrint()
normalize
protected byte[] normalize(byte[] secret)
Copyright © 2014 JCraft,Inc.. All Rights Reserved.