}
JDKDSAPublicKey(
SubjectPublicKeyInfo info)
{
DSAParameter params = new DSAParameter((ASN1Sequence)info.getAlgorithmId().getParameters());
DERInteger derY = null;
try
{
derY = (DERInteger)info.getPublicKey();
}
catch (IOException e)
{
throw new IllegalArgumentException("invalid info structure in DSA public key", e);
}
this.y = derY.getValue();
this.dsaSpec = new DSAParameterSpec(params.getP(), params.getQ(), params.getG());
}