2019-07-31 19:14:12 +10:00
|
|
|
/*
|
2021-02-18 14:57:13 +00:00
|
|
|
* Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2019-07-31 19:14:12 +10:00
|
|
|
*
|
|
|
|
* Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
|
|
* this file except in compliance with the License. You can obtain a copy
|
|
|
|
* in the file LICENSE in the source distribution or at
|
|
|
|
* https://www.openssl.org/source/license.html
|
|
|
|
*/
|
|
|
|
|
2021-02-06 22:36:46 +01:00
|
|
|
#ifndef OSSL_CRYPTO_CMS_H
|
|
|
|
# define OSSL_CRYPTO_CMS_H
|
|
|
|
# pragma once
|
|
|
|
|
|
|
|
# ifndef OPENSSL_NO_CMS
|
2019-06-12 19:52:39 +02:00
|
|
|
|
2019-07-31 19:14:12 +10:00
|
|
|
/* internal CMS-ESS related stuff */
|
|
|
|
|
2021-02-18 14:03:25 +10:00
|
|
|
int ossl_cms_add1_signing_cert(CMS_SignerInfo *si, ESS_SIGNING_CERT *sc);
|
|
|
|
int ossl_cms_add1_signing_cert_v2(CMS_SignerInfo *si, ESS_SIGNING_CERT_V2 *sc);
|
2019-06-12 19:52:39 +02:00
|
|
|
|
2021-03-12 19:45:40 +01:00
|
|
|
int ossl_cms_signerinfo_get_signing_cert_v2(const CMS_SignerInfo *si,
|
2021-02-18 14:03:25 +10:00
|
|
|
ESS_SIGNING_CERT_V2 **psc);
|
2021-03-12 19:45:40 +01:00
|
|
|
int ossl_cms_signerinfo_get_signing_cert(const CMS_SignerInfo *si,
|
2021-02-18 14:03:25 +10:00
|
|
|
ESS_SIGNING_CERT **psc);
|
2021-02-06 22:36:46 +01:00
|
|
|
# endif /* OPENSSL_NO_CMS */
|
|
|
|
|
2019-06-12 19:52:39 +02:00
|
|
|
#endif
|