[#OSSL_ESS_check_signing_certs]
= OSSL&lowbar;ESS&lowbar;check&lowbar;signing&lowbar;certs
:mrdocs:

Verify that `chain` satisfies ESS signing&hyphen;certificate identifiers in `ss` and&sol;or `ssv2&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
OSSL&lowbar;ESS&lowbar;check&lowbar;signing&lowbar;certs(
    xref:ESS_SIGNING_CERT-09.adoc[ESS&lowbar;SIGNING&lowbar;CERT] const* ss,
    xref:ESS_SIGNING_CERT_V2.adoc[ESS&lowbar;SIGNING&lowbar;CERT&lowbar;V2] const* ssv2,
    xref:stack_st_X509.adoc[stack&lowbar;st&lowbar;X509] const* chain,
    int require&lowbar;signing&lowbar;cert);
----

== Return Value

1 on success, 0 if a required certificate is missing, or &hyphen;1 on other error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *ss*
| Optional ESS SigningCertificate (CertID) attribute, or NULL&period;
| *ssv2*
| Optional ESS SigningCertificateV2 (CertIDv2) attribute, or NULL&period;
| *chain*
| Certificate validation chain&semi; the first entry must be the signer&period;
| *require&lowbar;signing&lowbar;cert*
| Nonzero to require that `ss` or `ssv2` is non&hyphen;NULL&period;
|===


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