Class Curve25519DH


  • public class Curve25519DH
    extends DHBase
    Key Exchange Method using Curve25519 as defined in RFC 8731
    • Constructor Summary

      Constructors 
      Constructor Description
      Curve25519DH()  
    • Method Summary

      Modifier and Type Method Description
      void init​(java.security.spec.AlgorithmParameterSpec params, Factory<Random> randomFactory)
      Initialize Key Agreement with generated Public and Private Key Pair
      • 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
        Initialize Key Agreement with generated Public and Private Key Pair
        Specified by:
        init in class DHBase
        Parameters:
        params - Parameters not used
        randomFactory - Random Factory not used
        Throws:
        java.security.GeneralSecurityException - Thrown on key agreement initialization failures