Verify protection and header fields of an incoming CMP message.

Synopsis

Declared in <openssl/cmp.h>

int
OSSL_CMP_validate_msg(
    OSSL_CMP_CTX* ctx,
    OSSL_CMP_MSG const* msg);

Return Value

1 if valid, 0 if invalid, or ‐1 on error.

Parameters

Name

Description

ctx

CMP context with trust and protection settings.

msg

CMP message to validate.

Created with MrDocs