Skip to content
instance method

OpenSSL::PKey::EC::Group#set_generator

(::OpenSSL::PKey::EC::Point generator, ::Integer order, ::Integer cofactor) -> self
group.set_generator(generator, order, cofactor) => self

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()

See also #seed= #to_der #seed #to_pem also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0