# Method Crypto.DSA.State()->set_public_key()

Method set_public_key

  `this_program set_public_key(Gmp.mpz modulo, Gmp.mpz order, Gmp.mpz generator, Gmp.mpz key)`

Description

  Sets the public key in this DSA object.

Parameter `modulo`

  This is the p parameter.

Parameter `order`

  This is the group order q parameter.

Parameter `generator`

  This is the g parameter.

Parameter `kye`

  This is the public key y parameter.