Updated list formatting, added hyperlinks, modernized syntax
[openssl.git] / include / openssl / x509v3err.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2022 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_X509V3ERR_H
12 # define OPENSSL_X509V3ERR_H
13 # pragma once
14
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17 # include <openssl/cryptoerr_legacy.h>
18
19
20
21 /*
22  * X509V3 reason codes.
23  */
24 # define X509V3_R_BAD_IP_ADDRESS                          118
25 # define X509V3_R_BAD_OBJECT                              119
26 # define X509V3_R_BAD_OPTION                              170
27 # define X509V3_R_BAD_VALUE                               171
28 # define X509V3_R_BN_DEC2BN_ERROR                         100
29 # define X509V3_R_BN_TO_ASN1_INTEGER_ERROR                101
30 # define X509V3_R_DIRNAME_ERROR                           149
31 # define X509V3_R_DISTPOINT_ALREADY_SET                   160
32 # define X509V3_R_DUPLICATE_ZONE_ID                       133
33 # define X509V3_R_EMPTY_KEY_USAGE                         169
34 # define X509V3_R_ERROR_CONVERTING_ZONE                   131
35 # define X509V3_R_ERROR_CREATING_EXTENSION                144
36 # define X509V3_R_ERROR_IN_EXTENSION                      128
37 # define X509V3_R_EXPECTED_A_SECTION_NAME                 137
38 # define X509V3_R_EXTENSION_EXISTS                        145
39 # define X509V3_R_EXTENSION_NAME_ERROR                    115
40 # define X509V3_R_EXTENSION_NOT_FOUND                     102
41 # define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED         103
42 # define X509V3_R_EXTENSION_VALUE_ERROR                   116
43 # define X509V3_R_ILLEGAL_EMPTY_EXTENSION                 151
44 # define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG             152
45 # define X509V3_R_INVALID_ASNUMBER                        162
46 # define X509V3_R_INVALID_ASRANGE                         163
47 # define X509V3_R_INVALID_BOOLEAN_STRING                  104
48 # define X509V3_R_INVALID_CERTIFICATE                     158
49 # define X509V3_R_INVALID_EMPTY_NAME                      108
50 # define X509V3_R_INVALID_EXTENSION_STRING                105
51 # define X509V3_R_INVALID_INHERITANCE                     165
52 # define X509V3_R_INVALID_IPADDRESS                       166
53 # define X509V3_R_INVALID_MULTIPLE_RDNS                   161
54 # define X509V3_R_INVALID_NAME                            106
55 # define X509V3_R_INVALID_NULL_ARGUMENT                   107
56 # define X509V3_R_INVALID_NULL_VALUE                      109
57 # define X509V3_R_INVALID_NUMBER                          140
58 # define X509V3_R_INVALID_NUMBERS                         141
59 # define X509V3_R_INVALID_OBJECT_IDENTIFIER               110
60 # define X509V3_R_INVALID_OPTION                          138
61 # define X509V3_R_INVALID_POLICY_IDENTIFIER               134
62 # define X509V3_R_INVALID_PROXY_POLICY_SETTING            153
63 # define X509V3_R_INVALID_PURPOSE                         146
64 # define X509V3_R_INVALID_SAFI                            164
65 # define X509V3_R_INVALID_SECTION                         135
66 # define X509V3_R_INVALID_SYNTAX                          143
67 # define X509V3_R_ISSUER_DECODE_ERROR                     126
68 # define X509V3_R_MISSING_VALUE                           124
69 # define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS           142
70 # define X509V3_R_NEGATIVE_PATHLEN                        168
71 # define X509V3_R_NO_CONFIG_DATABASE                      136
72 # define X509V3_R_NO_ISSUER_CERTIFICATE                   121
73 # define X509V3_R_NO_ISSUER_DETAILS                       127
74 # define X509V3_R_NO_POLICY_IDENTIFIER                    139
75 # define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED   154
76 # define X509V3_R_NO_PUBLIC_KEY                           114
77 # define X509V3_R_NO_SUBJECT_DETAILS                      125
78 # define X509V3_R_OPERATION_NOT_DEFINED                   148
79 # define X509V3_R_OTHERNAME_ERROR                         147
80 # define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED         155
81 # define X509V3_R_POLICY_PATH_LENGTH                      156
82 # define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED      157
83 # define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159
84 # define X509V3_R_SECTION_NOT_FOUND                       150
85 # define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS            122
86 # define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID              123
87 # define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT             111
88 # define X509V3_R_UNKNOWN_EXTENSION                       129
89 # define X509V3_R_UNKNOWN_EXTENSION_NAME                  130
90 # define X509V3_R_UNKNOWN_OPTION                          120
91 # define X509V3_R_UNKNOWN_VALUE                           172
92 # define X509V3_R_UNSUPPORTED_OPTION                      117
93 # define X509V3_R_UNSUPPORTED_TYPE                        167
94 # define X509V3_R_USER_TOO_LONG                           132
95
96 #endif