Package net.schmizz.sshj.transport.kex
Class ECDHNistP
- 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.ECDHNistP
-
- All Implemented Interfaces:
KeyExchange
public class ECDHNistP extends AbstractDHG
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ECDHNistP.Factory256
Named factory for ECDHNistP key exchangestatic class
ECDHNistP.Factory384
Named factory for ECDHNistP key exchangestatic class
ECDHNistP.Factory521
Named factory for ECDHNistP key exchange
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
curve
-
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
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initDH(DHBase dh)
-
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
-
-
-
-
Constructor Detail
-
ECDHNistP
public ECDHNistP(java.lang.String curve, Digest digest)
-
-
Method Detail
-
initDH
protected void initDH(DHBase dh) throws java.security.GeneralSecurityException
- Specified by:
initDH
in classAbstractDHG
- Throws:
java.security.GeneralSecurityException
-
-