Package com.trilead.ssh2.crypto.dh
Class EcDhExchange
java.lang.Object
com.trilead.ssh2.crypto.dh.GenericDhExchange
com.trilead.ssh2.crypto.dh.EcDhExchange
- Author:
- kenny
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getE()
protected byte[]
static ECDSAKeyAlgorithm
getVerifierForKey
(ECKey key) void
void
setF
(byte[] f) Methods inherited from class com.trilead.ssh2.crypto.dh.GenericDhExchange
calculateH, getInstance, getK
-
Constructor Details
-
EcDhExchange
public EcDhExchange()
-
-
Method Details
-
init
- Specified by:
init
in classGenericDhExchange
- Throws:
IOException
-
getE
public byte[] getE()- Specified by:
getE
in classGenericDhExchange
- Returns:
- Returns the e (public value)
-
getServerE
protected byte[] getServerE()- Specified by:
getServerE
in classGenericDhExchange
- Returns:
- Returns the server's e (public value)
-
setF
- Specified by:
setF
in classGenericDhExchange
- Parameters:
f
-- Throws:
IOException
-
getVerifierForKey
-
getHashAlgo
- Specified by:
getHashAlgo
in classGenericDhExchange
-