if (!vInfo.getAlgorithmId().getParameters().equals(DERNull.INSTANCE))
{
fail("public key parameters wrong");
}
ECPublicKey vKey = (ECPublicKey)kFact.generatePublic(new X509EncodedKeySpec(bytes));
if (!vKey.equals(pubKey) || vKey.hashCode() != pubKey.hashCode())
{
fail("public equals/hashCode failed");
}
testBCParamsAndQ(sKey, vKey);