[#OSSL_DECODER_CTX_set_input_structure]
= OSSL&lowbar;DECODER&lowbar;CTX&lowbar;set&lowbar;input&lowbar;structure
:mrdocs:

Set the expected ASN&period;1 structure name for the encoded input&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;DECODER&lowbar;CTX&lowbar;set&lowbar;input&lowbar;structure(
    xref:OSSL_DECODER_CTX.adoc[OSSL&lowbar;DECODER&lowbar;CTX]* ctx,
    char const* input&lowbar;structure);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| Decoder context to configure&period;
| *input&lowbar;structure*
| Structure name (for example &quot;EncryptedPrivateKeyInfo&quot;), or NULL&period;
|===


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