Package net.schmizz.sshj.transport.kex
Class DHG14
- java.lang.Object
-
- net.schmizz.sshj.transport.kex.KeyExchangeBase
-
- net.schmizz.sshj.transport.kex.AbstractDH
-
- net.schmizz.sshj.transport.kex.AbstractDHG
-
- net.schmizz.sshj.transport.kex.DHG14
-
- All Implemented Interfaces:
KeyExchange
public class DHG14 extends AbstractDHG
Diffie-Hellman key exchange with SHA-1 and Oakley Group 14 [RFC3526] (2048-bit MODP Group). DHG14 does not work with the default JCE implementation provided by Sun because it does not support 2048 bits encryption. It requires BouncyCastle to be used.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DHG14.Factory
Deprecated.Named factory for DHG14 key exchange
-
Field Summary
-
Fields inherited from class net.schmizz.sshj.transport.kex.AbstractDH
dh
-
Fields inherited from class net.schmizz.sshj.transport.kex.KeyExchangeBase
digest, H, hostKey, trans
-
-
Constructor Summary
Constructors Constructor Description DHG14()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
initDH(DHBase dh)
Deprecated.-
Methods inherited from class net.schmizz.sshj.transport.kex.AbstractDHG
init, next
-
Methods inherited from class net.schmizz.sshj.transport.kex.AbstractDH
getK
-
Methods inherited from class net.schmizz.sshj.transport.kex.KeyExchangeBase
getH, getHash, getHostKey, initializedBuffer
-
-
-
-
Method Detail
-
initDH
protected void initDH(DHBase dh) throws java.security.GeneralSecurityException
Deprecated.- Specified by:
initDH
in classAbstractDHG
- Throws:
java.security.GeneralSecurityException
-
-