Package com.jcraft.jsch
Class DHGEX
java.lang.Object
com.jcraft.jsch.KeyExchange
com.jcraft.jsch.DHGEX
- Direct Known Subclasses:
DHGEX256
public class DHGEX extends KeyExchange
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
hash
-
Constructor Summary
Constructors Constructor Description DHGEX()
-
Method Summary
Methods inherited from class com.jcraft.jsch.KeyExchange
getFingerPrint, getKeyAlgorithName, getKeyType, guess, normalize, verify
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
hash
protected java.lang.String hash
-
-
Constructor Details
-
DHGEX
public DHGEX()
-
-
Method Details
-
init
public void init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C) throws java.lang.Exception- Specified by:
init
in classKeyExchange
- Throws:
java.lang.Exception
-
next
- Specified by:
next
in classKeyExchange
- Throws:
java.lang.Exception
-
getState
public int getState()- Specified by:
getState
in classKeyExchange
-
check2048
protected int check2048(java.lang.Class<?> c, int _max) throws java.lang.Exception- Throws:
java.lang.Exception
-
check8192
protected int check8192(java.lang.Class<?> c, int _max) throws java.lang.Exception- Throws:
java.lang.Exception
-