final BigInteger e = BigInteger.getBigInteger(publicExponent.toString());
com.allen_sauer.gwt.log.client.Log.debug("e : " + e);
// generate two random primes of size lp/lq
BigInteger.getProbablePrime(lp,new NumberGeneratedCallback(){
public void onGenerated(final BigInteger p_)
{
//final BigInteger p_ = new BigInteger(nbInteger.toString());
com.allen_sauer.gwt.log.client.Log.debug("p : " + p_);
BigInteger.getProbablePrime(lq,
new NumberGeneratedCallback(){
public void onGenerated(BigInteger q)
{
com.allen_sauer.gwt.log.client.Log.debug("q : " + q);
BigInteger p = p_;
if (p_.compareTo(q) < 0) {