Class ECDH


  • public class ECDH
    extends DHBase
    • Constructor Summary

      Constructors 
      Constructor Description
      ECDH()  
    • Method Summary

      Modifier and Type Method Description
      void computeK​(byte[] f)  
      void init​(java.security.spec.AlgorithmParameterSpec params, Factory<Random> randomFactory)  
      • Methods inherited from class net.schmizz.sshj.transport.kex.DHBase

        getE, getK
      • Methods inherited from class java.lang.Object

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

      • ECDH

        public ECDH()
    • Method Detail

      • init

        public void init​(java.security.spec.AlgorithmParameterSpec params,
                         Factory<Random> randomFactory)
                  throws java.security.GeneralSecurityException
        Specified by:
        init in class DHBase
        Throws:
        java.security.GeneralSecurityException
      • computeK

        public void computeK​(byte[] f)
                      throws java.security.GeneralSecurityException
        Throws:
        java.security.GeneralSecurityException