Using M2Crypto I'd like to create a DSA_pub object for verifying a DSA signature. I know q, p, g, and the public key, but the only way I know to instantiate a DSA object is using:
dsa = DSA.set_params(q,p,g)
dsa.gen_key()
How do I assign the known public key?