com.jcraft.jsch
Class DHGEX

java.lang.Object
  extended by com.jcraft.jsch.KeyExchange
      extended by com.jcraft.jsch.DHGEX
Direct Known Subclasses:
DHGEX256

public class DHGEX
extends KeyExchange


Field Summary
protected  String hash
           
 
Fields inherited from class com.jcraft.jsch.KeyExchange
DSS, ECDSA, H, K, K_S, RSA, session, sha, STATE_END
 
Constructor Summary
DHGEX()
           
 
Method Summary
protected  int check2048(Class c, int _max)
           
 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, getKeyAlgorithName, getKeyType, guess, normalize, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

hash

protected String hash
Constructor Detail

DHGEX

public DHGEX()
Method Detail

init

public void init(Session session,
                 byte[] V_S,
                 byte[] V_C,
                 byte[] I_S,
                 byte[] I_C)
          throws Exception
Specified by:
init in class KeyExchange
Throws:
Exception

next

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

getState

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

check2048

protected int check2048(Class c,
                        int _max)
                 throws Exception
Throws:
Exception


Copyright © 2016 JCraft,Inc.. All Rights Reserved.