Package net.schmizz.sshj.transport.kex
Class Curve25519DH
- java.lang.Object
-
- net.schmizz.sshj.transport.kex.DHBase
-
- net.schmizz.sshj.transport.kex.Curve25519DH
-
public class Curve25519DH extends DHBase
-
-
Constructor Summary
Constructors Constructor Description Curve25519DH()
-
Method Summary
Modifier and Type Method Description static java.security.spec.AlgorithmParameterSpecgetCurve25519Params()TODO want to figure out why BouncyCastle does not work.voidinit(java.security.spec.AlgorithmParameterSpec params, Factory<Random> randomFactory)
-
-
-
Method Detail
-
init
public void init(java.security.spec.AlgorithmParameterSpec params, Factory<Random> randomFactory) 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
-
-