Class DHG1

    • Field Detail

      • g

        static final byte[] g
      • p

        static final byte[] p
      • state

        private int state
      • dh

        DH dh
      • V_S

        byte[] V_S
      • V_C

        byte[] V_C
      • I_S

        byte[] I_S
      • I_C

        byte[] I_C
      • e

        byte[] e
      • packet

        private Packet packet
    • 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