com.jcraft.jsch
Class DHG1

java.lang.Object
  extended by com.jcraft.jsch.KeyExchange
      extended by com.jcraft.jsch.DHG1

public class DHG1
extends KeyExchange


Field Summary
 
Fields inherited from class com.jcraft.jsch.KeyExchange
H, K, K_S, session, sha, STATE_END
 
Constructor Summary
DHG1()
           
 
Method Summary
 java.lang.String getKeyType()
           
 int getState()
           
 void init(Session session, byte[] V_S, byte[] V_C, byte[] I_S, byte[] I_C)
           
 boolean next(Buffer _buf)
           
 
Methods inherited from class com.jcraft.jsch.KeyExchange
getFingerPrint, guess, normalize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DHG1

public DHG1()
Method Detail

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 class KeyExchange
Throws:
java.lang.Exception

next

public boolean next(Buffer _buf)
             throws java.lang.Exception
Specified by:
next in class KeyExchange
Throws:
java.lang.Exception

getKeyType

public java.lang.String getKeyType()
Specified by:
getKeyType in class KeyExchange

getState

public int getState()
Specified by:
getState in class KeyExchange