Write a CMP message to a file in DER encoding.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_MSG_write(
    char const* file,
    OSSL_CMP_MSG const* msg);

Return Value

Number of bytes written, or a negative value on error.

Parameters

Name

Description

file

Destination file path.

msg

CMP message to write.

Created with MrDocs