Class DhExchange
java.lang.Object
com.trilead.ssh2.crypto.dh.GenericDhExchange
com.trilead.ssh2.crypto.dh.DhExchange
DhExchange.
- Version:
- $Id: DhExchange.java,v 1.2 2008/04/01 12:38:09 cplattne Exp $
- Author:
- Christian Plattner, plattner@trilead.com, kenny
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class GenericDhExchange
calculateH, getInstance, getK
-
Constructor Details
-
DhExchange
public DhExchange()
-
-
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
-
getHashAlgo
- Specified by:
getHashAlgoin classGenericDhExchange
-