[#OSSL_CMP_MSG_write] = OSSL_CMP_MSG_write :mrdocs: Write a CMP message to a file in DER encoding. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_MSG_write( char const* file, xref:OSSL_CMP_MSG.adoc[OSSL_CMP_MSG] const* msg); ---- == Return Value Number of bytes written, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *file* | Destination file path. | *msg* | CMP message to write. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#