1*e7be843bSPierre Pronchery /* 2*e7be843bSPierre Pronchery * Copyright 2019-2025 The OpenSSL Project Authors. All Rights Reserved. 3*e7be843bSPierre Pronchery * 4*e7be843bSPierre Pronchery * Licensed under the Apache License 2.0 (the "License"). You may not use 5*e7be843bSPierre Pronchery * this file except in compliance with the License. You can obtain a copy 6*e7be843bSPierre Pronchery * in the file LICENSE in the source distribution or at 7*e7be843bSPierre Pronchery * https://www.openssl.org/source/license.html 8*e7be843bSPierre Pronchery */ 9*e7be843bSPierre Pronchery #ifndef OSSL_INTERNAL_CMS_H 10*e7be843bSPierre Pronchery # define OSSL_INTERNAL_CMS_H 11*e7be843bSPierre Pronchery # pragma once 12*e7be843bSPierre Pronchery 13*e7be843bSPierre Pronchery # include <openssl/cms.h> 14*e7be843bSPierre Pronchery 15*e7be843bSPierre Pronchery # ifndef OPENSSL_NO_CMS 16*e7be843bSPierre Pronchery CMS_EnvelopedData *ossl_cms_sign_encrypt(BIO *data, X509 *sign_cert, STACK_OF(X509) *certs, 17*e7be843bSPierre Pronchery EVP_PKEY *sign_key, unsigned int sign_flags, 18*e7be843bSPierre Pronchery STACK_OF(X509) *enc_recip, const EVP_CIPHER *cipher, 19*e7be843bSPierre Pronchery unsigned int enc_flags, OSSL_LIB_CTX *libctx, 20*e7be843bSPierre Pronchery const char *propq); 21*e7be843bSPierre Pronchery # endif /* OPENSSL_NO_CMS */ 22*e7be843bSPierre Pronchery #endif /* OSSL_INTERNAL_CMS_H */ 23