Interface ECDH

All Known Implementing Classes:
ECDH256, ECDH384, ECDH521, ECDHN

public interface ECDH
  • Method Summary

    Modifier and Type Method Description
    byte[] getQ()  
    byte[] getSecret​(byte[] r, byte[] s)  
    void init​(int size)  
    boolean validate​(byte[] r, byte[] s)  
  • Method Details

    • init

      void init​(int size) throws java.lang.Exception
      Throws:
      java.lang.Exception
    • getSecret

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

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

      boolean validate​(byte[] r, byte[] s) throws java.lang.Exception
      Throws:
      java.lang.Exception