Interface XDH


public interface XDH
  • Method Summary

    Modifier and Type Method Description
    byte[] getQ()  
    byte[] getSecret​(byte[] u)  
    void init​(java.lang.String name, int keylen)  
    boolean validate​(byte[] u)  
  • Method Details

    • init

      void init​(java.lang.String name, int keylen) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getSecret

      byte[] getSecret​(byte[] u) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getQ

      byte[] getQ() throws java.lang.Exception
      Throws:
      java.lang.Exception
    • validate

      boolean validate​(byte[] u) throws java.lang.Exception
      Throws:
      java.lang.Exception