1 /* 2 * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 3 * 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 8 */ 9 #ifndef OSSL_INTERNAL_CMS_H 10 # define OSSL_INTERNAL_CMS_H 11 # pragma once 12 13 # include <openssl/cms.h> 14 15 # ifndef OPENSSL_NO_CMS 16 CMS_EnvelopedData *ossl_cms_sign_encrypt(BIO *data, X509 *sign_cert, STACK_OF(X509) *certs, 17 EVP_PKEY *sign_key, unsigned int sign_flags, 18 STACK_OF(X509) *enc_recip, const EVP_CIPHER *cipher, 19 unsigned int enc_flags, OSSL_LIB_CTX *libctx, 20 const char *propq); 21 # endif /* OPENSSL_NO_CMS */ 22 #endif /* OSSL_INTERNAL_CMS_H */ 23