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