Class Curve25519DH


  • public class Curve25519DH
    extends DHBase
    • Constructor Summary

      Constructors 
      Constructor Description
      Curve25519DH()  
    • Method Summary

      Modifier and Type Method Description
      static java.security.spec.AlgorithmParameterSpec getCurve25519Params()
      TODO want to figure out why BouncyCastle does not work.
      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

      • Curve25519DH

        public Curve25519DH()
    • 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
      • getCurve25519Params

        public static java.security.spec.AlgorithmParameterSpec getCurve25519Params()
        TODO want to figure out why BouncyCastle does not work.
        Returns:
        The initialized curve25519 parameter spec