instance method
OpenSSL::Config#sections
() -> ::Array[::String]
config.sections → array of string
ext/openssl/ossl_config.c
View on GitHub ↗
static VALUE
config_get_sections(VALUE self)
{
CONF *conf = GetConfig(self);
VALUE ary;
ary = rb_ary_new();
lh_doall_arg((_LHASH *)conf->data, LHASH_DOALL_ARG_FN(get_conf_section),
&ary);
return ary;
}
Get the names of all sections in the current configuration.