Package net.schmizz.sshj.transport.kex
Class Curve25519SHA256
- 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.Curve25519SHA256
-
- All Implemented Interfaces:
KeyExchange
public class Curve25519SHA256 extends AbstractDHG
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Curve25519SHA256.Factory
Named factory for Curve25519SHA256 key exchangestatic class
Curve25519SHA256.FactoryLibSsh
Named factory for Curve25519SHA256 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 Curve25519SHA256()
-
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
-
-
-
-
Method Detail
-
initDH
protected void initDH(DHBase dh) throws java.security.GeneralSecurityException
- Specified by:
initDH
in classAbstractDHG
- Throws:
java.security.GeneralSecurityException
-
-