Class Curve25519DH
java.lang.Object
net.schmizz.sshj.transport.kex.DHBase
net.schmizz.sshj.transport.kex.Curve25519DH
Key Exchange Method using Curve25519 as defined in RFC 8731
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit(AlgorithmParameterSpec params, Factory<Random> randomFactory) Initialize Key Agreement with generated Public and Private Key Pair
-
Constructor Details
-
Curve25519DH
public Curve25519DH()
-
-
Method Details
-
init
public void init(AlgorithmParameterSpec params, Factory<Random> randomFactory) throws GeneralSecurityException Initialize Key Agreement with generated Public and Private Key Pair- Specified by:
initin classDHBase- Parameters:
params- Parameters not usedrandomFactory- Random Factory not used- Throws:
GeneralSecurityException- Thrown on key agreement initialization failures
-