Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:39

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2023 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 
0020 # ifndef OPENSSL_NO_CMS
0021 
0022 
0023 /*
0024  * CMS reason codes.
0025  */
0026 #  define CMS_R_ADD_SIGNER_ERROR                           99
0027 #  define CMS_R_ATTRIBUTE_ERROR                            161
0028 #  define CMS_R_CERTIFICATE_ALREADY_PRESENT                175
0029 #  define CMS_R_CERTIFICATE_HAS_NO_KEYID                   160
0030 #  define CMS_R_CERTIFICATE_VERIFY_ERROR                   100
0031 #  define CMS_R_CIPHER_AEAD_SET_TAG_ERROR                  184
0032 #  define CMS_R_CIPHER_GET_TAG                             185
0033 #  define CMS_R_CIPHER_INITIALISATION_ERROR                101
0034 #  define CMS_R_CIPHER_PARAMETER_INITIALISATION_ERROR      102
0035 #  define CMS_R_CMS_DATAFINAL_ERROR                        103
0036 #  define CMS_R_CMS_LIB                                    104
0037 #  define CMS_R_CONTENTIDENTIFIER_MISMATCH                 170
0038 #  define CMS_R_CONTENT_NOT_FOUND                          105
0039 #  define CMS_R_CONTENT_TYPE_MISMATCH                      171
0040 #  define CMS_R_CONTENT_TYPE_NOT_COMPRESSED_DATA           106
0041 #  define CMS_R_CONTENT_TYPE_NOT_ENVELOPED_DATA            107
0042 #  define CMS_R_CONTENT_TYPE_NOT_SIGNED_DATA               108
0043 #  define CMS_R_CONTENT_VERIFY_ERROR                       109
0044 #  define CMS_R_CTRL_ERROR                                 110
0045 #  define CMS_R_CTRL_FAILURE                               111
0046 #  define CMS_R_DECODE_ERROR                               187
0047 #  define CMS_R_DECRYPT_ERROR                              112
0048 #  define CMS_R_ERROR_GETTING_PUBLIC_KEY                   113
0049 #  define CMS_R_ERROR_READING_MESSAGEDIGEST_ATTRIBUTE      114
0050 #  define CMS_R_ERROR_SETTING_KEY                          115
0051 #  define CMS_R_ERROR_SETTING_RECIPIENTINFO                116
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_KEY_AGREEMENT                          181
0070 #  define CMS_R_NOT_KEY_TRANSPORT                          124
0071 #  define CMS_R_NOT_PWRI                                   177
0072 #  define CMS_R_NOT_SUPPORTED_FOR_THIS_KEY_TYPE            125
0073 #  define CMS_R_NO_CIPHER                                  126
0074 #  define CMS_R_NO_CONTENT                                 127
0075 #  define CMS_R_NO_CONTENT_TYPE                            173
0076 #  define CMS_R_NO_DEFAULT_DIGEST                          128
0077 #  define CMS_R_NO_DIGEST_SET                              129
0078 #  define CMS_R_NO_KEY                                     130
0079 #  define CMS_R_NO_KEY_OR_CERT                             174
0080 #  define CMS_R_NO_MATCHING_DIGEST                         131
0081 #  define CMS_R_NO_MATCHING_RECIPIENT                      132
0082 #  define CMS_R_NO_MATCHING_SIGNATURE                      166
0083 #  define CMS_R_NO_MSGSIGDIGEST                            167
0084 #  define CMS_R_NO_PASSWORD                                178
0085 #  define CMS_R_NO_PRIVATE_KEY                             133
0086 #  define CMS_R_NO_PUBLIC_KEY                              134
0087 #  define CMS_R_NO_RECEIPT_REQUEST                         168
0088 #  define CMS_R_NO_SIGNERS                                 135
0089 #  define CMS_R_OPERATION_UNSUPPORTED                      182
0090 #  define CMS_R_PEER_KEY_ERROR                             188
0091 #  define CMS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE     136
0092 #  define CMS_R_RECEIPT_DECODE_ERROR                       169
0093 #  define CMS_R_RECIPIENT_ERROR                            137
0094 #  define CMS_R_SHARED_INFO_ERROR                          189
0095 #  define CMS_R_SIGNER_CERTIFICATE_NOT_FOUND               138
0096 #  define CMS_R_SIGNFINAL_ERROR                            139
0097 #  define CMS_R_SMIME_TEXT_ERROR                           140
0098 #  define CMS_R_STORE_INIT_ERROR                           141
0099 #  define CMS_R_TYPE_NOT_COMPRESSED_DATA                   142
0100 #  define CMS_R_TYPE_NOT_DATA                              143
0101 #  define CMS_R_TYPE_NOT_DIGESTED_DATA                     144
0102 #  define CMS_R_TYPE_NOT_ENCRYPTED_DATA                    145
0103 #  define CMS_R_TYPE_NOT_ENVELOPED_DATA                    146
0104 #  define CMS_R_UNABLE_TO_FINALIZE_CONTEXT                 147
0105 #  define CMS_R_UNKNOWN_CIPHER                             148
0106 #  define CMS_R_UNKNOWN_DIGEST_ALGORITHM                   149
0107 #  define CMS_R_UNKNOWN_ID                                 150
0108 #  define CMS_R_UNSUPPORTED_COMPRESSION_ALGORITHM          151
0109 #  define CMS_R_UNSUPPORTED_CONTENT_ENCRYPTION_ALGORITHM   194
0110 #  define CMS_R_UNSUPPORTED_CONTENT_TYPE                   152
0111 #  define CMS_R_UNSUPPORTED_ENCRYPTION_TYPE                192
0112 #  define CMS_R_UNSUPPORTED_KEK_ALGORITHM                  153
0113 #  define CMS_R_UNSUPPORTED_KEY_ENCRYPTION_ALGORITHM       179
0114 #  define CMS_R_UNSUPPORTED_LABEL_SOURCE                   193
0115 #  define CMS_R_UNSUPPORTED_RECIPIENTINFO_TYPE             155
0116 #  define CMS_R_UNSUPPORTED_RECIPIENT_TYPE                 154
0117 #  define CMS_R_UNSUPPORTED_SIGNATURE_ALGORITHM            195
0118 #  define CMS_R_UNSUPPORTED_TYPE                           156
0119 #  define CMS_R_UNWRAP_ERROR                               157
0120 #  define CMS_R_UNWRAP_FAILURE                             180
0121 #  define CMS_R_VERIFICATION_FAILURE                       158
0122 #  define CMS_R_WRAP_ERROR                                 159
0123 
0124 # endif
0125 #endif