Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-06 08:47:44

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2025 The OpenSSL Project Authors. All Rights Reserved.
0004  *
0005  * Licensed under the Apache License 2.0 (the "License").  You may not use
0006  * this file except in compliance with the License.  You can obtain a copy
0007  * in the file LICENSE in the source distribution or at
0008  * https://www.openssl.org/source/license.html
0009  */
0010 
0011 #ifndef OPENSSL_CMSERR_H
0012 #define OPENSSL_CMSERR_H
0013 #pragma once
0014 
0015 #include <openssl/opensslconf.h>
0016 #include <openssl/symhacks.h>
0017 #include <openssl/cryptoerr_legacy.h>
0018 
0019 #ifndef OPENSSL_NO_CMS
0020 
0021 /*
0022  * CMS reason codes.
0023  */
0024 #define CMS_R_ADD_SIGNER_ERROR 99
0025 #define CMS_R_ATTRIBUTE_ERROR 161
0026 #define CMS_R_CERTIFICATE_ALREADY_PRESENT 175
0027 #define CMS_R_CERTIFICATE_HAS_NO_KEYID 160
0028 #define CMS_R_CERTIFICATE_VERIFY_ERROR 100
0029 #define CMS_R_CIPHER_AEAD_IN_ENVELOPED_DATA 200
0030 #define CMS_R_CIPHER_AEAD_SET_TAG_ERROR 184
0031 #define CMS_R_CIPHER_GET_TAG 185
0032 #define CMS_R_CIPHER_INITIALISATION_ERROR 101
0033 #define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR 102
0034 #define CMS_R_CMS_DATAFINAL_ERROR 103
0035 #define CMS_R_CMS_LIB 104
0036 #define CMS_R_CONTENTIDENTIFIER_MISMATCH 170
0037 #define CMS_R_CONTENT_NOT_FOUND 105
0038 #define CMS_R_CONTENT_TYPE_MISMATCH 171
0039 #define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA 106
0040 #define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA 107
0041 #define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA 108
0042 #define CMS_R_CONTENT_VERIFY_ERROR 109
0043 #define CMS_R_CTRL_ERROR 110
0044 #define CMS_R_CTRL_FAILURE 111
0045 #define CMS_R_DECODE_ERROR 187
0046 #define CMS_R_DECRYPT_ERROR 112
0047 #define CMS_R_ERROR_GETTING_PUBLIC_KEY 113
0048 #define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE 114
0049 #define CMS_R_ERROR_SETTING_KEY 115
0050 #define CMS_R_ERROR_SETTING_RECIPIENTINFO 116
0051 #define CMS_R_ERROR_UNSUPPORTED_STATIC_KEY_AGREEMENT 196
0052 #define CMS_R_ESS_SIGNING_CERTID_MISMATCH_ERROR 183
0053 #define CMS_R_INVALID_ENCRYPTED_KEY_LENGTH 117
0054 #define CMS_R_INVALID_KEY_ENCRYPTION_PARAMETER 176
0055 #define CMS_R_INVALID_KEY_LENGTH 118
0056 #define CMS_R_INVALID_LABEL 190
0057 #define CMS_R_INVALID_OAEP_PARAMETERS 191
0058 #define CMS_R_KDF_PARAMETER_ERROR 186
0059 #define CMS_R_MD_BIO_INIT_ERROR 119
0060 #define CMS_R_MESSAGEDIGEST_ATTRIBUTE_WRONG_LENGTH 120
0061 #define CMS_R_MESSAGEDIGEST_WRONG_LENGTH 121
0062 #define CMS_R_MSGSIGDIGEST_ERROR 172
0063 #define CMS_R_MSGSIGDIGEST_VERIFICATION_FAILURE 162
0064 #define CMS_R_MSGSIGDIGEST_WRONG_LENGTH 163
0065 #define CMS_R_NEED_ONE_SIGNER 164
0066 #define CMS_R_NOT_A_SIGNED_RECEIPT 165
0067 #define CMS_R_NOT_ENCRYPTED_DATA 122
0068 #define CMS_R_NOT_KEK 123
0069 #define CMS_R_NOT_KEM 197
0070 #define CMS_R_NOT_KEY_AGREEMENT 181
0071 #define CMS_R_NOT_KEY_TRANSPORT 124
0072 #define CMS_R_NOT_PWRI 177
0073 #define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 125
0074 #define CMS_R_NO_CIPHER 126
0075 #define CMS_R_NO_CONTENT 127
0076 #define CMS_R_NO_CONTENT_TYPE 173
0077 #define CMS_R_NO_DEFAULT_DIGEST 128
0078 #define CMS_R_NO_DIGEST_SET 129
0079 #define CMS_R_NO_KEY 130
0080 #define CMS_R_NO_KEY_OR_CERT 174
0081 #define CMS_R_NO_MATCHING_DIGEST 131
0082 #define CMS_R_NO_MATCHING_RECIPIENT 132
0083 #define CMS_R_NO_MATCHING_SIGNATURE 166
0084 #define CMS_R_NO_MSGSIGDIGEST 167
0085 #define CMS_R_NO_PASSWORD 178
0086 #define CMS_R_NO_PRIVATE_KEY 133
0087 #define CMS_R_NO_PUBLIC_KEY 134
0088 #define CMS_R_NO_RECEIPT_REQUEST 168
0089 #define CMS_R_NO_SIGNERS 135
0090 #define CMS_R_OPERATION_UNSUPPORTED 182
0091 #define CMS_R_PEER_KEY_ERROR 188
0092 #define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 136
0093 #define CMS_R_RECEIPT_DECODE_ERROR 169
0094 #define CMS_R_RECIPIENT_ERROR 137
0095 #define CMS_R_SHARED_INFO_ERROR 189
0096 #define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND 138
0097 #define CMS_R_SIGNFINAL_ERROR 139
0098 #define CMS_R_SMIME_TEXT_ERROR 140
0099 #define CMS_R_STORE_INIT_ERROR 141
0100 #define CMS_R_TYPE_NOT_COMPRESSED_DATA 142
0101 #define CMS_R_TYPE_NOT_DATA 143
0102 #define CMS_R_TYPE_NOT_DIGESTED_DATA 144
0103 #define CMS_R_TYPE_NOT_ENCRYPTED_DATA 145
0104 #define CMS_R_TYPE_NOT_ENVELOPED_DATA 146
0105 #define CMS_R_UNABLE_TO_FINALIZE_CONTEXT 147
0106 #define CMS_R_UNKNOWN_CIPHER 148
0107 #define CMS_R_UNKNOWN_DIGEST_ALGORITHM 149
0108 #define CMS_R_UNKNOWN_ID 150
0109 #define CMS_R_UNKNOWN_KDF_ALGORITHM 198
0110 #define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM 151
0111 #define CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM 194
0112 #define CMS_R_UNSUPPORTED_CONTENT_TYPE 152
0113 #define CMS_R_UNSUPPORTED_ENCRYPTION_TYPE 192
0114 #define CMS_R_UNSUPPORTED_KDF_ALGORITHM 199
0115 #define CMS_R_UNSUPPORTED_KEK_ALGORITHM 153
0116 #define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM 179
0117 #define CMS_R_UNSUPPORTED_LABEL_SOURCE 193
0118 #define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE 155
0119 #define CMS_R_UNSUPPORTED_RECIPIENT_TYPE 154
0120 #define CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM 195
0121 #define CMS_R_UNSUPPORTED_TYPE 156
0122 #define CMS_R_UNWRAP_ERROR 157
0123 #define CMS_R_UNWRAP_FAILURE 180
0124 #define CMS_R_VERIFICATION_FAILURE 158
0125 #define CMS_R_WRAP_ERROR 159
0126 
0127 #endif
0128 #endif