[#EVP_CIPHER_get_type]
= EVP&lowbar;CIPHER&lowbar;get&lowbar;type
:mrdocs:

Return the OBJECT IDENTIFIER NID of a cipher (ignoring parameters)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;CIPHER&lowbar;get&lowbar;type(xref:EVP_CIPHER-07.adoc[EVP&lowbar;CIPHER] const* cipher);
----

== Return Value

Cipher OID NID, or NID&lowbar;undef if the cipher has no ASN&period;1 support&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *cipher*
| Cipher method to query&period;
|===


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