]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
3 | * Copyright 1995-2019 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 | ||
14 | # include <openssl/opensslconf.h> | |
15 | # include <openssl/symhacks.h> | |
16 | ||
17 | ||
18 | # ifdef __cplusplus | |
19 | extern "C" | |
20 | # endif | |
21 | int ERR_load_X509V3_strings(void); | |
22 | ||
23 | /* | |
24 | * X509V3 function codes. | |
25 | */ | |
26 | # if !OPENSSL_API_3 | |
27 | # define X509V3_F_A2I_GENERAL_NAME 0 | |
28 | # define X509V3_F_ADDR_VALIDATE_PATH_INTERNAL 0 | |
29 | # define X509V3_F_ASIDENTIFIERCHOICE_CANONIZE 0 | |
30 | # define X509V3_F_ASIDENTIFIERCHOICE_IS_CANONICAL 0 | |
31 | # define X509V3_F_BIGNUM_TO_STRING 0 | |
32 | # define X509V3_F_COPY_EMAIL 0 | |
33 | # define X509V3_F_COPY_ISSUER 0 | |
34 | # define X509V3_F_DO_DIRNAME 0 | |
35 | # define X509V3_F_DO_EXT_I2D 0 | |
36 | # define X509V3_F_DO_EXT_NCONF 0 | |
37 | # define X509V3_F_GNAMES_FROM_SECTNAME 0 | |
38 | # define X509V3_F_I2S_ASN1_ENUMERATED 0 | |
39 | # define X509V3_F_I2S_ASN1_IA5STRING 0 | |
40 | # define X509V3_F_I2S_ASN1_INTEGER 0 | |
41 | # define X509V3_F_I2V_AUTHORITY_INFO_ACCESS 0 | |
42 | # define X509V3_F_LEVEL_ADD_NODE 0 | |
43 | # define X509V3_F_NOTICE_SECTION 0 | |
44 | # define X509V3_F_NREF_NOS 0 | |
45 | # define X509V3_F_POLICY_CACHE_CREATE 0 | |
46 | # define X509V3_F_POLICY_CACHE_NEW 0 | |
47 | # define X509V3_F_POLICY_DATA_NEW 0 | |
48 | # define X509V3_F_POLICY_SECTION 0 | |
49 | # define X509V3_F_PROCESS_PCI_VALUE 0 | |
50 | # define X509V3_F_R2I_CERTPOL 0 | |
51 | # define X509V3_F_R2I_PCI 0 | |
52 | # define X509V3_F_S2I_ASN1_IA5STRING 0 | |
53 | # define X509V3_F_S2I_ASN1_INTEGER 0 | |
54 | # define X509V3_F_S2I_ASN1_OCTET_STRING 0 | |
55 | # define X509V3_F_S2I_SKEY_ID 0 | |
56 | # define X509V3_F_SET_DIST_POINT_NAME 0 | |
57 | # define X509V3_F_SXNET_ADD_ID_ASC 0 | |
58 | # define X509V3_F_SXNET_ADD_ID_INTEGER 0 | |
59 | # define X509V3_F_SXNET_ADD_ID_ULONG 0 | |
60 | # define X509V3_F_SXNET_GET_ID_ASC 0 | |
61 | # define X509V3_F_SXNET_GET_ID_ULONG 0 | |
62 | # define X509V3_F_TREE_INIT 0 | |
63 | # define X509V3_F_V2I_ASIDENTIFIERS 0 | |
64 | # define X509V3_F_V2I_ASN1_BIT_STRING 0 | |
65 | # define X509V3_F_V2I_AUTHORITY_INFO_ACCESS 0 | |
66 | # define X509V3_F_V2I_AUTHORITY_KEYID 0 | |
67 | # define X509V3_F_V2I_BASIC_CONSTRAINTS 0 | |
68 | # define X509V3_F_V2I_CRLD 0 | |
69 | # define X509V3_F_V2I_EXTENDED_KEY_USAGE 0 | |
70 | # define X509V3_F_V2I_GENERAL_NAMES 0 | |
71 | # define X509V3_F_V2I_GENERAL_NAME_EX 0 | |
72 | # define X509V3_F_V2I_IDP 0 | |
73 | # define X509V3_F_V2I_IPADDRBLOCKS 0 | |
74 | # define X509V3_F_V2I_ISSUER_ALT 0 | |
75 | # define X509V3_F_V2I_NAME_CONSTRAINTS 0 | |
76 | # define X509V3_F_V2I_POLICY_CONSTRAINTS 0 | |
77 | # define X509V3_F_V2I_POLICY_MAPPINGS 0 | |
78 | # define X509V3_F_V2I_SUBJECT_ALT 0 | |
79 | # define X509V3_F_V2I_TLS_FEATURE 0 | |
80 | # define X509V3_F_V3_GENERIC_EXTENSION 0 | |
81 | # define X509V3_F_X509V3_ADD1_I2D 0 | |
82 | # define X509V3_F_X509V3_ADD_VALUE 0 | |
83 | # define X509V3_F_X509V3_EXT_ADD 0 | |
84 | # define X509V3_F_X509V3_EXT_ADD_ALIAS 0 | |
85 | # define X509V3_F_X509V3_EXT_I2D 0 | |
86 | # define X509V3_F_X509V3_EXT_NCONF 0 | |
87 | # define X509V3_F_X509V3_GET_SECTION 0 | |
88 | # define X509V3_F_X509V3_GET_STRING 0 | |
89 | # define X509V3_F_X509V3_GET_VALUE_BOOL 0 | |
90 | # define X509V3_F_X509V3_PARSE_LIST 0 | |
91 | # define X509V3_F_X509_PURPOSE_ADD 0 | |
92 | # define X509V3_F_X509_PURPOSE_SET 0 | |
93 | # endif | |
94 | ||
95 | /* | |
96 | * X509V3 reason codes. | |
97 | */ | |
98 | # define X509V3_R_BAD_IP_ADDRESS 118 | |
99 | # define X509V3_R_BAD_OBJECT 119 | |
100 | # define X509V3_R_BN_DEC2BN_ERROR 100 | |
101 | # define X509V3_R_BN_TO_ASN1_INTEGER_ERROR 101 | |
102 | # define X509V3_R_DIRNAME_ERROR 149 | |
103 | # define X509V3_R_DISTPOINT_ALREADY_SET 160 | |
104 | # define X509V3_R_DUPLICATE_ZONE_ID 133 | |
105 | # define X509V3_R_ERROR_CONVERTING_ZONE 131 | |
106 | # define X509V3_R_ERROR_CREATING_EXTENSION 144 | |
107 | # define X509V3_R_ERROR_IN_EXTENSION 128 | |
108 | # define X509V3_R_EXPECTED_A_SECTION_NAME 137 | |
109 | # define X509V3_R_EXTENSION_EXISTS 145 | |
110 | # define X509V3_R_EXTENSION_NAME_ERROR 115 | |
111 | # define X509V3_R_EXTENSION_NOT_FOUND 102 | |
112 | # define X509V3_R_EXTENSION_SETTING_NOT_SUPPORTED 103 | |
113 | # define X509V3_R_EXTENSION_VALUE_ERROR 116 | |
114 | # define X509V3_R_ILLEGAL_EMPTY_EXTENSION 151 | |
115 | # define X509V3_R_INCORRECT_POLICY_SYNTAX_TAG 152 | |
116 | # define X509V3_R_INVALID_ASNUMBER 162 | |
117 | # define X509V3_R_INVALID_ASRANGE 163 | |
118 | # define X509V3_R_INVALID_BOOLEAN_STRING 104 | |
119 | # define X509V3_R_INVALID_EXTENSION_STRING 105 | |
120 | # define X509V3_R_INVALID_INHERITANCE 165 | |
121 | # define X509V3_R_INVALID_IPADDRESS 166 | |
122 | # define X509V3_R_INVALID_MULTIPLE_RDNS 161 | |
123 | # define X509V3_R_INVALID_NAME 106 | |
124 | # define X509V3_R_INVALID_NULL_ARGUMENT 107 | |
125 | # define X509V3_R_INVALID_NULL_NAME 108 | |
126 | # define X509V3_R_INVALID_NULL_VALUE 109 | |
127 | # define X509V3_R_INVALID_NUMBER 140 | |
128 | # define X509V3_R_INVALID_NUMBERS 141 | |
129 | # define X509V3_R_INVALID_OBJECT_IDENTIFIER 110 | |
130 | # define X509V3_R_INVALID_OPTION 138 | |
131 | # define X509V3_R_INVALID_POLICY_IDENTIFIER 134 | |
132 | # define X509V3_R_INVALID_PROXY_POLICY_SETTING 153 | |
133 | # define X509V3_R_INVALID_PURPOSE 146 | |
134 | # define X509V3_R_INVALID_SAFI 164 | |
135 | # define X509V3_R_INVALID_SECTION 135 | |
136 | # define X509V3_R_INVALID_SYNTAX 143 | |
137 | # define X509V3_R_ISSUER_DECODE_ERROR 126 | |
138 | # define X509V3_R_MISSING_VALUE 124 | |
139 | # define X509V3_R_NEED_ORGANIZATION_AND_NUMBERS 142 | |
140 | # define X509V3_R_NO_CONFIG_DATABASE 136 | |
141 | # define X509V3_R_NO_ISSUER_CERTIFICATE 121 | |
142 | # define X509V3_R_NO_ISSUER_DETAILS 127 | |
143 | # define X509V3_R_NO_POLICY_IDENTIFIER 139 | |
144 | # define X509V3_R_NO_PROXY_CERT_POLICY_LANGUAGE_DEFINED 154 | |
145 | # define X509V3_R_NO_PUBLIC_KEY 114 | |
146 | # define X509V3_R_NO_SUBJECT_DETAILS 125 | |
147 | # define X509V3_R_OPERATION_NOT_DEFINED 148 | |
148 | # define X509V3_R_OTHERNAME_ERROR 147 | |
149 | # define X509V3_R_POLICY_LANGUAGE_ALREADY_DEFINED 155 | |
150 | # define X509V3_R_POLICY_PATH_LENGTH 156 | |
151 | # define X509V3_R_POLICY_PATH_LENGTH_ALREADY_DEFINED 157 | |
152 | # define X509V3_R_POLICY_WHEN_PROXY_LANGUAGE_REQUIRES_NO_POLICY 159 | |
153 | # define X509V3_R_SECTION_NOT_FOUND 150 | |
154 | # define X509V3_R_UNABLE_TO_GET_ISSUER_DETAILS 122 | |
155 | # define X509V3_R_UNABLE_TO_GET_ISSUER_KEYID 123 | |
156 | # define X509V3_R_UNKNOWN_BIT_STRING_ARGUMENT 111 | |
157 | # define X509V3_R_UNKNOWN_EXTENSION 129 | |
158 | # define X509V3_R_UNKNOWN_EXTENSION_NAME 130 | |
159 | # define X509V3_R_UNKNOWN_OPTION 120 | |
160 | # define X509V3_R_UNSUPPORTED_OPTION 117 | |
161 | # define X509V3_R_UNSUPPORTED_TYPE 167 | |
162 | # define X509V3_R_USER_TOO_LONG 132 | |
163 | ||
164 | #endif |