]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/cmserr.h
Update copyright year
[thirdparty/openssl.git] / include / openssl / cmserr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
4 *
5 * Licensed under the Apache License 2.0 (the "License"). You may not use
6 * this file except in compliance with the License. You can obtain a copy
7 * in the file LICENSE in the source distribution or at
8 * https://www.openssl.org/source/license.html
9 */
10
11 #ifndef OPENSSL_CMSERR_H
12 # define OPENSSL_CMSERR_H
13 # pragma once
14
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17 # include <openssl/cryptoerr_legacy.h>
18
19
20 # ifndef OPENSSL_NO_CMS
21
22
23 /*
24 * CMS reason codes.
25 */
26 # define CMS_R_ADD_SIGNER_ERROR 99
27 # define CMS_R_ATTRIBUTE_ERROR 161
28 # define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
29 # define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
30 # define CMS_R_CERTIFICATE_VERIFY_ERROR 100
31 # define CMS_R_CIPHER_AEAD_SET_TAG_ERROR 184
32 # define CMS_R_CIPHER_GET_TAG 185
33 # define CMS_R_CIPHER_INITIALISATION_ERROR 101
34 # define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
35 # define CMS_R_CMS_DATAFINAL_ERROR 103
36 # define CMS_R_CMS_LIB 104
37 # define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
38 # define CMS_R_CONTENT_NOT_FOUND 105
39 # define CMS_R_CONTENT_TYPE_MISMATCH 171
40 # define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
41 # define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
42 # define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
43 # define CMS_R_CONTENT_VERIFY_ERROR 109
44 # define CMS_R_CTRL_ERROR 110
45 # define CMS_R_CTRL_FAILURE 111
46 # define CMS_R_DECODE_ERROR 187
47 # define CMS_R_DECRYPT_ERROR 112
48 # define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
49 # define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
50 # define CMS_R_ERROR_SETTING_KEY 115
51 # define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
52 # define CMS_R_ESS_NO_SIGNING_CERTID_ATTRIBUTE 182
53 # define CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR 183
54 # define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
55 # define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
56 # define CMS_R_INVALID_KEY_LENGTH 118
57 # define CMS_R_INVALID_LABEL 190
58 # define CMS_R_INVALID_OAEP_PARAMETERS 191
59 # define CMS_R_KDF_PARAMETER_ERROR 186
60 # define CMS_R_MD_BIO_INIT_ERROR 119
61 # define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
62 # define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
63 # define CMS_R_MSGSIGDIGEST_ERROR 172
64 # define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
65 # define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
66 # define CMS_R_NEED_ONE_SIGNER 164
67 # define CMS_R_NOT_A_SIGNED_RECEIPT 165
68 # define CMS_R_NOT_ENCRYPTED_DATA 122
69 # define CMS_R_NOT_KEK 123
70 # define CMS_R_NOT_KEY_AGREEMENT 181
71 # define CMS_R_NOT_KEY_TRANSPORT 124
72 # define CMS_R_NOT_PWRI 177
73 # define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
74 # define CMS_R_NO_CIPHER 126
75 # define CMS_R_NO_CONTENT 127
76 # define CMS_R_NO_CONTENT_TYPE 173
77 # define CMS_R_NO_DEFAULT_DIGEST 128
78 # define CMS_R_NO_DIGEST_SET 129
79 # define CMS_R_NO_KEY 130
80 # define CMS_R_NO_KEY_OR_CERT 174
81 # define CMS_R_NO_MATCHING_DIGEST 131
82 # define CMS_R_NO_MATCHING_RECIPIENT 132
83 # define CMS_R_NO_MATCHING_SIGNATURE 166
84 # define CMS_R_NO_MSGSIGDIGEST 167
85 # define CMS_R_NO_PASSWORD 178
86 # define CMS_R_NO_PRIVATE_KEY 133
87 # define CMS_R_NO_PUBLIC_KEY 134
88 # define CMS_R_NO_RECEIPT_REQUEST 168
89 # define CMS_R_NO_SIGNERS 135
90 # define CMS_R_PEER_KEY_ERROR 188
91 # define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
92 # define CMS_R_RECEIPT_DECODE_ERROR 169
93 # define CMS_R_RECIPIENT_ERROR 137
94 # define CMS_R_SHARED_INFO_ERROR 189
95 # define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
96 # define CMS_R_SIGNFINAL_ERROR 139
97 # define CMS_R_SMIME_TEXT_ERROR 140
98 # define CMS_R_STORE_INIT_ERROR 141
99 # define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
100 # define CMS_R_TYPE_NOT_DATA 143
101 # define CMS_R_TYPE_NOT_DIGESTED_DATA 144
102 # define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
103 # define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
104 # define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
105 # define CMS_R_UNKNOWN_CIPHER 148
106 # define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
107 # define CMS_R_UNKNOWN_ID 150
108 # define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
109 # define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
110 # define CMS_R_UNSUPPORTED_ENCRYPTION_TYPE 192
111 # define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
112 # define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
113 # define CMS_R_UNSUPPORTED_LABEL_SOURCE 193
114 # define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
115 # define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
116 # define CMS_R_UNSUPPORTED_TYPE 156
117 # define CMS_R_UNWRAP_ERROR 157
118 # define CMS_R_UNWRAP_FAILURE 180
119 # define CMS_R_VERIFICATION_FAILURE 158
120 # define CMS_R_WRAP_ERROR 159
121
122 # endif
123 #endif