Skip to content
instance method

OpenSSL::PKey::EC::Group#cofactor

() -> ::OpenSSL::BN
group.get_cofactor => cofactor_bn

Returns the cofactor of the group.

See the OpenSSL documentation for EC_GROUP_get_cofactor()

See also #asn1_flag= #curve_name #asn1_flag #degree also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0