[#OSSL_CMP_MSG_read]
= OSSL&lowbar;CMP&lowbar;MSG&lowbar;read
:mrdocs:

Load a DER&hyphen;encoded CMP message from a file&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:OSSL_CMP_MSG.adoc[OSSL&lowbar;CMP&lowbar;MSG]*
OSSL&lowbar;CMP&lowbar;MSG&lowbar;read(
    char const* file,
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq);
----

== Return Value

Parsed OSSL&lowbar;CMP&lowbar;MSG, or NULL on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *file*
| Path to the DER file&period;
| *libctx*
| Library context, or NULL for the default&period;
| *propq*
| Property query string, or NULL&period;
|===


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