pubKey = new DSAPublicKey () {
public BigInteger getY() { return y; }
public DSAParams getParams() {
return (DSAParams)(new DSAParameterSpec(p, q, g));
}
public String getAlgorithm() { return "DSA"; }
public byte[] getEncoded() { return enc2; }
public String getFormat() { return "X.509"; }
};