[#EC_GROUP_get_asn1_flag]
= EC&lowbar;GROUP&lowbar;get&lowbar;asn1&lowbar;flag
:mrdocs:

Return whether an EC&lowbar;GROUP encodes as a named curve or with explicit parameters&period;

== Synopsis

Declared in `&lt;openssl&sol;ec&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EC&lowbar;GROUP&lowbar;get&lowbar;asn1&lowbar;flag(xref:EC_GROUP.adoc[EC&lowbar;GROUP] const* group);
----

== Return Value

OPENSSL&lowbar;EC&lowbar;NAMED&lowbar;CURVE or OPENSSL&lowbar;EC&lowbar;EXPLICIT&lowbar;CURVE (0 on older APIs)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *group*
| EC&lowbar;GROUP whose ASN&period;1 encoding flag is queried&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
