Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2024 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_ASN1ERR_H
0012 # define OPENSSL_ASN1ERR_H
0013 # pragma once
0014 
0015 # include <openssl/opensslconf.h>
0016 # include <openssl/symhacks.h>
0017 # include <openssl/cryptoerr_legacy.h>
0018 
0019 
0020 
0021 /*
0022  * ASN1 reason codes.
0023  */
0024 # define ASN1_R_ADDING_OBJECT                             171
0025 # define ASN1_R_ASN1_PARSE_ERROR                          203
0026 # define ASN1_R_ASN1_SIG_PARSE_ERROR                      204
0027 # define ASN1_R_AUX_ERROR                                 100
0028 # define ASN1_R_BAD_OBJECT_HEADER                         102
0029 # define ASN1_R_BAD_TEMPLATE                              230
0030 # define ASN1_R_BMPSTRING_IS_WRONG_LENGTH                 214
0031 # define ASN1_R_BN_LIB                                    105
0032 # define ASN1_R_BOOLEAN_IS_WRONG_LENGTH                   106
0033 # define ASN1_R_BUFFER_TOO_SMALL                          107
0034 # define ASN1_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER           108
0035 # define ASN1_R_CONTEXT_NOT_INITIALISED                   217
0036 # define ASN1_R_DATA_IS_WRONG                             109
0037 # define ASN1_R_DECODE_ERROR                              110
0038 # define ASN1_R_DEPTH_EXCEEDED                            174
0039 # define ASN1_R_DIGEST_AND_KEY_TYPE_NOT_SUPPORTED         198
0040 # define ASN1_R_ENCODE_ERROR                              112
0041 # define ASN1_R_ERROR_GETTING_TIME                        173
0042 # define ASN1_R_ERROR_LOADING_SECTION                     172
0043 # define ASN1_R_ERROR_SETTING_CIPHER_PARAMS               114
0044 # define ASN1_R_EXPECTING_AN_INTEGER                      115
0045 # define ASN1_R_EXPECTING_AN_OBJECT                       116
0046 # define ASN1_R_EXPLICIT_LENGTH_MISMATCH                  119
0047 # define ASN1_R_EXPLICIT_TAG_NOT_CONSTRUCTED              120
0048 # define ASN1_R_FIELD_MISSING                             121
0049 # define ASN1_R_FIRST_NUM_TOO_LARGE                       122
0050 # define ASN1_R_GENERALIZEDTIME_IS_TOO_SHORT              232
0051 # define ASN1_R_HEADER_TOO_LONG                           123
0052 # define ASN1_R_ILLEGAL_BITSTRING_FORMAT                  175
0053 # define ASN1_R_ILLEGAL_BOOLEAN                           176
0054 # define ASN1_R_ILLEGAL_CHARACTERS                        124
0055 # define ASN1_R_ILLEGAL_FORMAT                            177
0056 # define ASN1_R_ILLEGAL_HEX                               178
0057 # define ASN1_R_ILLEGAL_IMPLICIT_TAG                      179
0058 # define ASN1_R_ILLEGAL_INTEGER                           180
0059 # define ASN1_R_ILLEGAL_NEGATIVE_VALUE                    226
0060 # define ASN1_R_ILLEGAL_NESTED_TAGGING                    181
0061 # define ASN1_R_ILLEGAL_NULL                              125
0062 # define ASN1_R_ILLEGAL_NULL_VALUE                        182
0063 # define ASN1_R_ILLEGAL_OBJECT                            183
0064 # define ASN1_R_ILLEGAL_OPTIONAL_ANY                      126
0065 # define ASN1_R_ILLEGAL_OPTIONS_ON_ITEM_TEMPLATE          170
0066 # define ASN1_R_ILLEGAL_PADDING                           221
0067 # define ASN1_R_ILLEGAL_TAGGED_ANY                        127
0068 # define ASN1_R_ILLEGAL_TIME_VALUE                        184
0069 # define ASN1_R_ILLEGAL_ZERO_CONTENT                      222
0070 # define ASN1_R_INTEGER_NOT_ASCII_FORMAT                  185
0071 # define ASN1_R_INTEGER_TOO_LARGE_FOR_LONG                128
0072 # define ASN1_R_INVALID_BIT_STRING_BITS_LEFT              220
0073 # define ASN1_R_INVALID_BMPSTRING_LENGTH                  129
0074 # define ASN1_R_INVALID_DIGIT                             130
0075 # define ASN1_R_INVALID_MIME_TYPE                         205
0076 # define ASN1_R_INVALID_MODIFIER                          186
0077 # define ASN1_R_INVALID_NUMBER                            187
0078 # define ASN1_R_INVALID_OBJECT_ENCODING                   216
0079 # define ASN1_R_INVALID_SCRYPT_PARAMETERS                 227
0080 # define ASN1_R_INVALID_SEPARATOR                         131
0081 # define ASN1_R_INVALID_STRING_TABLE_VALUE                218
0082 # define ASN1_R_INVALID_UNIVERSALSTRING_LENGTH            133
0083 # define ASN1_R_INVALID_UTF8STRING                        134
0084 # define ASN1_R_INVALID_VALUE                             219
0085 # define ASN1_R_LENGTH_TOO_LONG                           231
0086 # define ASN1_R_LIST_ERROR                                188
0087 # define ASN1_R_MIME_NO_CONTENT_TYPE                      206
0088 # define ASN1_R_MIME_PARSE_ERROR                          207
0089 # define ASN1_R_MIME_SIG_PARSE_ERROR                      208
0090 # define ASN1_R_MISSING_EOC                               137
0091 # define ASN1_R_MISSING_SECOND_NUMBER                     138
0092 # define ASN1_R_MISSING_VALUE                             189
0093 # define ASN1_R_MSTRING_NOT_UNIVERSAL                     139
0094 # define ASN1_R_MSTRING_WRONG_TAG                         140
0095 # define ASN1_R_NESTED_ASN1_STRING                        197
0096 # define ASN1_R_NESTED_TOO_DEEP                           201
0097 # define ASN1_R_NON_HEX_CHARACTERS                        141
0098 # define ASN1_R_NOT_ASCII_FORMAT                          190
0099 # define ASN1_R_NOT_ENOUGH_DATA                           142
0100 # define ASN1_R_NO_CONTENT_TYPE                           209
0101 # define ASN1_R_NO_MATCHING_CHOICE_TYPE                   143
0102 # define ASN1_R_NO_MULTIPART_BODY_FAILURE                 210
0103 # define ASN1_R_NO_MULTIPART_BOUNDARY                     211
0104 # define ASN1_R_NO_SIG_CONTENT_TYPE                       212
0105 # define ASN1_R_NULL_IS_WRONG_LENGTH                      144
0106 # define ASN1_R_OBJECT_NOT_ASCII_FORMAT                   191
0107 # define ASN1_R_ODD_NUMBER_OF_CHARS                       145
0108 # define ASN1_R_SECOND_NUMBER_TOO_LARGE                   147
0109 # define ASN1_R_SEQUENCE_LENGTH_MISMATCH                  148
0110 # define ASN1_R_SEQUENCE_NOT_CONSTRUCTED                  149
0111 # define ASN1_R_SEQUENCE_OR_SET_NEEDS_CONFIG              192
0112 # define ASN1_R_SHORT_LINE                                150
0113 # define ASN1_R_SIG_INVALID_MIME_TYPE                     213
0114 # define ASN1_R_STREAMING_NOT_SUPPORTED                   202
0115 # define ASN1_R_STRING_TOO_LONG                           151
0116 # define ASN1_R_STRING_TOO_SHORT                          152
0117 # define ASN1_R_THE_ASN1_OBJECT_IDENTIFIER_IS_NOT_KNOWN_FOR_THIS_MD 154
0118 # define ASN1_R_TIME_NOT_ASCII_FORMAT                     193
0119 # define ASN1_R_TOO_LARGE                                 223
0120 # define ASN1_R_TOO_LONG                                  155
0121 # define ASN1_R_TOO_SMALL                                 224
0122 # define ASN1_R_TYPE_NOT_CONSTRUCTED                      156
0123 # define ASN1_R_TYPE_NOT_PRIMITIVE                        195
0124 # define ASN1_R_UNEXPECTED_EOC                            159
0125 # define ASN1_R_UNIVERSALSTRING_IS_WRONG_LENGTH           215
0126 # define ASN1_R_UNKNOWN_DIGEST                            229
0127 # define ASN1_R_UNKNOWN_FORMAT                            160
0128 # define ASN1_R_UNKNOWN_MESSAGE_DIGEST_ALGORITHM          161
0129 # define ASN1_R_UNKNOWN_OBJECT_TYPE                       162
0130 # define ASN1_R_UNKNOWN_PUBLIC_KEY_TYPE                   163
0131 # define ASN1_R_UNKNOWN_SIGNATURE_ALGORITHM               199
0132 # define ASN1_R_UNKNOWN_TAG                               194
0133 # define ASN1_R_UNSUPPORTED_ANY_DEFINED_BY_TYPE           164
0134 # define ASN1_R_UNSUPPORTED_CIPHER                        228
0135 # define ASN1_R_UNSUPPORTED_PUBLIC_KEY_TYPE               167
0136 # define ASN1_R_UNSUPPORTED_TYPE                          196
0137 # define ASN1_R_UTCTIME_IS_TOO_SHORT                      233
0138 # define ASN1_R_WRONG_INTEGER_TYPE                        225
0139 # define ASN1_R_WRONG_PUBLIC_KEY_TYPE                     200
0140 # define ASN1_R_WRONG_TAG                                 168
0141 
0142 #endif