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