method

set_generator

ruby latest stable - Class: OpenSSL::PKey::EC::Group
set_generator(p1, p2, p3)
public

Sets the curve parameters. generator must be an instance of EC::Point that is on the curve. order and cofactor are integers.

See the OpenSSL documentation for EC_GROUP_set_generator()