random = new SecureRandom();
}
if (strength == 1024)
{
params = new DSAParameterGenerationParameters(1024, 160, 80, random);
pGen.init(params);
}
else if (strength > 1024)
{
params = new DSAParameterGenerationParameters(strength, 256, 80, random);
pGen.init(params);
}
else
{
pGen.init(strength, 20, random);