Class XDH

  • All Implemented Interfaces:
    XDH

    public class XDH
    extends java.lang.Object
    implements XDH
    • Constructor Summary

      Constructors 
      Constructor Description
      XDH()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getQ()  
      byte[] getSecret​(byte[] Q)  
      void init​(java.lang.String name, int keylen)  
      boolean validate​(byte[] u)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XDH

        public XDH()
    • Method Detail

      • init

        public void init​(java.lang.String name,
                         int keylen)
                  throws java.lang.Exception
        Specified by:
        init in interface XDH
        Throws:
        java.lang.Exception
      • getQ

        public byte[] getQ()
                    throws java.lang.Exception
        Specified by:
        getQ in interface XDH
        Throws:
        java.lang.Exception
      • getSecret

        public byte[] getSecret​(byte[] Q)
                         throws java.lang.Exception
        Specified by:
        getSecret in interface XDH
        Throws:
        java.lang.Exception
      • validate

        public boolean validate​(byte[] u)
                         throws java.lang.Exception
        Specified by:
        validate in interface XDH
        Throws:
        java.lang.Exception