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