Package net.schmizz.sshj.transport.kex
Class DH
- java.lang.Object
-
- net.schmizz.sshj.transport.kex.DHBase
-
- net.schmizz.sshj.transport.kex.DH
-
public class DH extends DHBase
Diffie-Hellman key generator.
-
-
Constructor Summary
Constructors Constructor Description DH()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
computeK(byte[] f)
java.math.BigInteger
getG()
java.math.BigInteger
getP()
void
init(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
-
computeK
void computeK(byte[] f) throws java.security.GeneralSecurityException
-
getP
public java.math.BigInteger getP()
-
getG
public java.math.BigInteger getG()
-
-