xref: /openbsd/lib/libcrypto/hidden/openssl/cms.h (revision d415bd75)
1 /* $OpenBSD: cms.h,v 1.2 2023/07/28 10:28:02 tb Exp $ */
2 /*
3  * Copyright (c) 2023 Bob Beck <beck@openbsd.org>
4  *
5  * Permission to use, copy, modify, and distribute this software for any
6  * purpose with or without fee is hereby granted, provided that the above
7  * copyright notice and this permission notice appear in all copies.
8  *
9  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16  */
17 
18 #ifndef _LIBCRYPTO_CMS_H
19 #define _LIBCRYPTO_CMS_H
20 
21 #ifndef _MSC_VER
22 #include_next <openssl/cms.h>
23 #else
24 #include "../include/openssl/cms.h"
25 #endif
26 #include "crypto_namespace.h"
27 
28 LCRYPTO_USED(CMS_ContentInfo_new);
29 LCRYPTO_USED(CMS_ContentInfo_free);
30 LCRYPTO_USED(d2i_CMS_ContentInfo);
31 LCRYPTO_USED(i2d_CMS_ContentInfo);
32 LCRYPTO_USED(CMS_ReceiptRequest_new);
33 LCRYPTO_USED(CMS_ReceiptRequest_free);
34 LCRYPTO_USED(d2i_CMS_ReceiptRequest);
35 LCRYPTO_USED(i2d_CMS_ReceiptRequest);
36 LCRYPTO_USED(CMS_ContentInfo_print_ctx);
37 LCRYPTO_USED(CMS_get0_type);
38 LCRYPTO_USED(CMS_get_version);
39 LCRYPTO_USED(CMS_SignerInfo_get_version);
40 LCRYPTO_USED(CMS_dataInit);
41 LCRYPTO_USED(CMS_dataFinal);
42 LCRYPTO_USED(CMS_is_detached);
43 LCRYPTO_USED(CMS_set_detached);
44 LCRYPTO_USED(CMS_stream);
45 LCRYPTO_USED(d2i_CMS_bio);
46 LCRYPTO_USED(i2d_CMS_bio);
47 LCRYPTO_USED(BIO_new_CMS);
48 LCRYPTO_USED(i2d_CMS_bio_stream);
49 LCRYPTO_USED(PEM_write_bio_CMS_stream);
50 LCRYPTO_USED(SMIME_read_CMS);
51 LCRYPTO_USED(SMIME_write_CMS);
52 LCRYPTO_USED(CMS_final);
53 LCRYPTO_USED(CMS_sign);
54 LCRYPTO_USED(CMS_sign_receipt);
55 LCRYPTO_USED(CMS_data);
56 LCRYPTO_USED(CMS_data_create);
57 LCRYPTO_USED(CMS_digest_verify);
58 LCRYPTO_USED(CMS_digest_create);
59 LCRYPTO_USED(CMS_EncryptedData_decrypt);
60 LCRYPTO_USED(CMS_EncryptedData_encrypt);
61 LCRYPTO_USED(CMS_EncryptedData_set1_key);
62 LCRYPTO_USED(CMS_verify);
63 LCRYPTO_USED(CMS_verify_receipt);
64 LCRYPTO_USED(CMS_get0_signers);
65 LCRYPTO_USED(CMS_encrypt);
66 LCRYPTO_USED(CMS_decrypt);
67 LCRYPTO_USED(CMS_decrypt_set1_pkey);
68 LCRYPTO_USED(CMS_decrypt_set1_key);
69 LCRYPTO_USED(CMS_decrypt_set1_password);
70 LCRYPTO_USED(CMS_get0_RecipientInfos);
71 LCRYPTO_USED(CMS_RecipientInfo_type);
72 LCRYPTO_USED(CMS_RecipientInfo_get0_pkey_ctx);
73 LCRYPTO_USED(CMS_EnvelopedData_create);
74 LCRYPTO_USED(CMS_add1_recipient_cert);
75 LCRYPTO_USED(CMS_RecipientInfo_set0_pkey);
76 LCRYPTO_USED(CMS_RecipientInfo_ktri_cert_cmp);
77 LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_algs);
78 LCRYPTO_USED(CMS_RecipientInfo_ktri_get0_signer_id);
79 LCRYPTO_USED(CMS_add0_recipient_key);
80 LCRYPTO_USED(CMS_RecipientInfo_kekri_get0_id);
81 LCRYPTO_USED(CMS_RecipientInfo_set0_key);
82 LCRYPTO_USED(CMS_RecipientInfo_kekri_id_cmp);
83 LCRYPTO_USED(CMS_RecipientInfo_set0_password);
84 LCRYPTO_USED(CMS_add0_recipient_password);
85 LCRYPTO_USED(CMS_RecipientInfo_decrypt);
86 LCRYPTO_USED(CMS_RecipientInfo_encrypt);
87 LCRYPTO_USED(CMS_uncompress);
88 LCRYPTO_USED(CMS_compress);
89 LCRYPTO_USED(CMS_set1_eContentType);
90 LCRYPTO_USED(CMS_get0_eContentType);
91 LCRYPTO_USED(CMS_add0_CertificateChoices);
92 LCRYPTO_USED(CMS_add0_cert);
93 LCRYPTO_USED(CMS_add1_cert);
94 LCRYPTO_USED(CMS_get1_certs);
95 LCRYPTO_USED(CMS_add0_RevocationInfoChoice);
96 LCRYPTO_USED(CMS_add0_crl);
97 LCRYPTO_USED(CMS_add1_crl);
98 LCRYPTO_USED(CMS_get1_crls);
99 LCRYPTO_USED(CMS_SignedData_init);
100 LCRYPTO_USED(CMS_add1_signer);
101 LCRYPTO_USED(CMS_SignerInfo_get0_pkey_ctx);
102 LCRYPTO_USED(CMS_SignerInfo_get0_md_ctx);
103 LCRYPTO_USED(CMS_get0_SignerInfos);
104 LCRYPTO_USED(CMS_SignerInfo_set1_signer_cert);
105 LCRYPTO_USED(CMS_SignerInfo_get0_signer_id);
106 LCRYPTO_USED(CMS_SignerInfo_cert_cmp);
107 LCRYPTO_USED(CMS_set1_signers_certs);
108 LCRYPTO_USED(CMS_SignerInfo_get0_algs);
109 LCRYPTO_USED(CMS_SignerInfo_get0_signature);
110 LCRYPTO_USED(CMS_SignerInfo_sign);
111 LCRYPTO_USED(CMS_SignerInfo_verify);
112 LCRYPTO_USED(CMS_SignerInfo_verify_content);
113 LCRYPTO_USED(CMS_add_smimecap);
114 LCRYPTO_USED(CMS_add_simple_smimecap);
115 LCRYPTO_USED(CMS_add_standard_smimecap);
116 LCRYPTO_USED(CMS_signed_get_attr_count);
117 LCRYPTO_USED(CMS_signed_get_attr_by_NID);
118 LCRYPTO_USED(CMS_signed_get_attr_by_OBJ);
119 LCRYPTO_USED(CMS_signed_get_attr);
120 LCRYPTO_USED(CMS_signed_delete_attr);
121 LCRYPTO_USED(CMS_signed_add1_attr);
122 LCRYPTO_USED(CMS_signed_add1_attr_by_OBJ);
123 LCRYPTO_USED(CMS_signed_add1_attr_by_NID);
124 LCRYPTO_USED(CMS_signed_add1_attr_by_txt);
125 LCRYPTO_USED(CMS_signed_get0_data_by_OBJ);
126 LCRYPTO_USED(CMS_unsigned_get_attr_count);
127 LCRYPTO_USED(CMS_unsigned_get_attr_by_NID);
128 LCRYPTO_USED(CMS_unsigned_get_attr_by_OBJ);
129 LCRYPTO_USED(CMS_unsigned_get_attr);
130 LCRYPTO_USED(CMS_unsigned_delete_attr);
131 LCRYPTO_USED(CMS_unsigned_add1_attr);
132 LCRYPTO_USED(CMS_unsigned_add1_attr_by_OBJ);
133 LCRYPTO_USED(CMS_unsigned_add1_attr_by_NID);
134 LCRYPTO_USED(CMS_unsigned_add1_attr_by_txt);
135 LCRYPTO_USED(CMS_unsigned_get0_data_by_OBJ);
136 LCRYPTO_USED(CMS_RecipientInfo_kari_get0_alg);
137 LCRYPTO_USED(CMS_RecipientInfo_kari_get0_reks);
138 LCRYPTO_USED(CMS_RecipientInfo_kari_get0_orig_id);
139 LCRYPTO_USED(CMS_RecipientInfo_kari_orig_id_cmp);
140 LCRYPTO_USED(CMS_RecipientEncryptedKey_get0_id);
141 LCRYPTO_USED(CMS_RecipientEncryptedKey_cert_cmp);
142 LCRYPTO_USED(CMS_RecipientInfo_kari_set0_pkey);
143 LCRYPTO_USED(CMS_RecipientInfo_kari_get0_ctx);
144 LCRYPTO_USED(CMS_RecipientInfo_kari_decrypt);
145 LCRYPTO_USED(CMS_SharedInfo_encode);
146 LCRYPTO_USED(ERR_load_CMS_strings);
147 
148 #endif /* _LIBCRYPTO_CMS_H */
149