You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

x509v3err.h 3.4 kB

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