Skip to content
instance method

OpenSSL::PKey::EC#group=

(::OpenSSL::PKey::EC::Group) -> ::OpenSSL::PKey::EC::Group
key.group = group

Sets the EC::Group for the key. The group structure is internally copied so modification to group after assigning to a key has no effect on the key.

See also #group #private? #generate_key! #private_key also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0