2 * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the Apache License 2.0 (the "License"). You may not use
5 * this file except in compliance with the License. You can obtain a copy
6 * in the file LICENSE in the source distribution or at
7 * https://www.openssl.org/source/license.html
10 #ifndef OPENSSL_NO_CMS
12 /* internal CMS-ESS related stuff */
14 int cms_add1_signing_cert(CMS_SignerInfo *si, ESS_SIGNING_CERT *sc);
15 int cms_add1_signing_cert_v2(CMS_SignerInfo *si, ESS_SIGNING_CERT_V2 *sc);
17 int cms_signerinfo_get_signing_cert_v2(CMS_SignerInfo *si,
18 ESS_SIGNING_CERT_V2 **psc);
19 int cms_signerinfo_get_signing_cert(CMS_SignerInfo *si,
20 ESS_SIGNING_CERT **psc);