[#OSSL_CMP_validate_msg] = OSSL_CMP_validate_msg :mrdocs: Verify protection and header fields of an incoming CMP message. == Synopsis Declared in `<openssl/cmp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int OSSL_CMP_validate_msg( xref:OSSL_CMP_CTX.adoc[OSSL_CMP_CTX]* ctx, xref:OSSL_CMP_MSG.adoc[OSSL_CMP_MSG] const* msg); ---- == Return Value 1 if valid, 0 if invalid, or ‐1 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | CMP context with trust and protection settings. | *msg* | CMP message to validate. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#