x509v3err.h 8.2 KB

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