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  

    Fields inherited from class com.jcraft.jsch.KeyExchange

    DSS, ECDSA, EDDSA, H, K, K_S, RSA, session, sha, STATE_END
  • Constructor Summary

    Constructors
    Constructor Description
    DHGEX()  
  • Method Summary

    Modifier and Type Method Description
    protected int check2048​(java.lang.Class<?> c, int _max)  
    protected int check8192​(java.lang.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 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 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
    • getState

      public int getState()
      Specified by:
      getState in class KeyExchange
    • 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