instance method
OpenSSL::PKey::EC::Group#asn1_flag=
(::Integer) -> ::Integer
group.asn1_flag = flags
ext/openssl/ossl_pkey_ec.c
View on GitHub ↗
static VALUE ossl_ec_group_set_asn1_flag(VALUE self, VALUE flag_v)
{
EC_GROUP *group = NULL;
GetECGroup(self, group);
EC_GROUP_set_asn1_flag(group, NUM2INT(flag_v));
return flag_v;
}
Sets flags on the group. The flag value is used to determine how to encode the group: encode explicit parameters or named curve using an OID.
The flag value can be either of:
See the OpenSSL documentation for EC_GROUP_set_asn1_flag().