Package net.schmizz.sshj.transport.kex
Class DH
java.lang.Object
net.schmizz.sshj.transport.kex.DHBase
net.schmizz.sshj.transport.kex.DH
Diffie-Hellman key generator.
-
Field Details
-
p
-
g
-
-
Constructor Details
-
DH
public DH()
-
-
Method Details
-
init
public void init(AlgorithmParameterSpec params, Factory<Random> randomFactory) throws GeneralSecurityException - Specified by:
init
in classDHBase
- Throws:
GeneralSecurityException
-
computeK
- Specified by:
computeK
in classDHBase
- Throws:
GeneralSecurityException
-
getP
-
getG
-