DSAKeyPairGenerator dsakpg = (DSAKeyPairGenerator) kpg;
msg = "initialize(DSAParams, SecureRandom) MUST succeed";
try
{
dsakpg.initialize(
new DSAParameterSpec(BigInteger.ONE, BigInteger.ONE, BigInteger.ONE),
rnd);
harness.check(true, msg);
}
catch (Exception x)