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.


Method set_public_key

variant this_program set_public_key(.DH.Parameters params, Gmp.mpz key)

Description

Sets the public key in this DSA object.

Parameter params

The finite-field diffie-hellman group parameters.

Parameter key

The public key y parameter.