Class DHGEX

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

public class DHGEX
extends KeyExchange
  • Field Details

    • hash

      protected java.lang.String hash
  • Constructor Details

  • 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