Write a CMP message to a file in DER encoding.
Declared in <openssl/cmp.h>
int
OSSL_CMP_MSG_write(
char const* file,
OSSL_CMP_MSG const* msg);
Number of bytes written, or a negative value on error.
| Name | Description |
|---|---|
| file | Destination file path. |
| msg | CMP message to write. |