End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
OpenSSL::PKey::EC::Group#to_der
group.to_der => String
ext/openssl/ossl_pkey_ec.c
View on GitHub ↗
static VALUE ossl_ec_group_to_der(VALUE self)
{
return ossl_ec_group_to_string(self, EXPORT_DER);
}
See the OpenSSL documentation for i2d_ECPKParameters_bio()