[#OSSL_ENCODER_fetch]
= OSSL&lowbar;ENCODER&lowbar;fetch
:mrdocs:

Fetch an encoder implementation from providers by algorithm name&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_ENCODER.adoc[OSSL&lowbar;ENCODER]*
OSSL&lowbar;ENCODER&lowbar;fetch(
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* name,
    char const* properties);
----

== Return Value

Fetched OSSL&lowbar;ENCODER, or NULL on error&semi; release with OSSL&lowbar;ENCODER&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *libctx*
| Library context, or NULL for the default&period;
| *name*
| Encoder algorithm name (for example &quot;RSA&quot; or &quot;DER&quot;)&period;
| *properties*
| Optional property query string, or NULL&period;
|===


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