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 ECDSAKeyAlgorithmgetVerifierForKey(ECKey key) voidvoidsetF(byte[] f) Methods inherited from class GenericDhExchange
calculateH, getInstance, getK
-
Constructor Details
-
EcDhExchange
public EcDhExchange()
-
-
Method Details
-
init
- Specified by:
initin classGenericDhExchange- Throws:
IOException
-
getE
public byte[] getE()- Specified by:
getEin classGenericDhExchange- Returns:
- Returns the e (public value)
-
getServerE
protected byte[] getServerE()- Specified by:
getServerEin classGenericDhExchange- Returns:
- Returns the server's e (public value)
-
setF
- Specified by:
setFin classGenericDhExchange- Parameters:
f-- Throws:
IOException
-
getVerifierForKey
-
getHashAlgo
- Specified by:
getHashAlgoin classGenericDhExchange
-