[#OSSL_CMP_certConf_cb_t]
= OSSL&lowbar;CMP&lowbar;certConf&lowbar;cb&lowbar;t
:mrdocs:

Callback type for evaluating a newly enrolled certificate before certConf&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef int(* OSSL&lowbar;CMP&lowbar;certConf&lowbar;cb&lowbar;t)(xref:OSSL_CMP_CTX.adoc[OSSL&lowbar;CMP&lowbar;CTX]*, xref:X509.adoc[X509]*, int, char const**);
----

== Return Value

0 to accept the certificate, or a PKIFailureInfo bit field on rejection&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ctx*
| CMP context&period;
| *cert*
| Newly enrolled certificate to inspect&period;
| *fail&lowbar;info*
| Pre&hyphen;decision PKIFailureInfo bit field from the library&period;
| *txt*
| Optional output for a detail string on rejection&period;
|===


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