[#OSSL_CRMF_MSGS_verify_popo]
= OSSL&lowbar;CRMF&lowbar;MSGS&lowbar;verify&lowbar;popo
:mrdocs:

Verify proof&hyphen;of&hyphen;possession on a CRMF CertReqMessages sequence&period;

== Synopsis

Declared in `&lt;openssl&sol;crmf&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;CRMF&lowbar;MSGS&lowbar;verify&lowbar;popo(
    xref:OSSL_CRMF_MSGS.adoc[OSSL&lowbar;CRMF&lowbar;MSGS] const* reqs,
    int rid,
    int acceptRAVerified,
    xref:OSSL_LIB_CTX.adoc[OSSL&lowbar;LIB&lowbar;CTX]* libctx,
    char const* propq);
----

== Return Value

1 if POPO verifies, 0 if not, or &hyphen;1 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *reqs*
| CertReqMessages to verify&period;
| *rid*
| certReqId of the message to verify, or &hyphen;1 to verify all messages&period;
| *acceptRAVerified*
| Non&hyphen;zero to accept POPO raVerified without further checks&period;
| *libctx*
| Library context for algorithm fetching, or NULL for the default&period;
| *propq*
| Property query for algorithm fetching, or NULL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
