2
0

x509v3err.h 4.9 KB

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