cmperr.h 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2023 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_CMPERR_H
  11. # define OPENSSL_CMPERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. # ifndef OPENSSL_NO_CMP
  17. /*
  18. * CMP reason codes.
  19. */
  20. # define CMP_R_ALGORITHM_NOT_SUPPORTED 139
  21. # define CMP_R_BAD_CHECKAFTER_IN_POLLREP 167
  22. # define CMP_R_BAD_REQUEST_ID 108
  23. # define CMP_R_CERTHASH_UNMATCHED 156
  24. # define CMP_R_CERTID_NOT_FOUND 109
  25. # define CMP_R_CERTIFICATE_NOT_ACCEPTED 169
  26. # define CMP_R_CERTIFICATE_NOT_FOUND 112
  27. # define CMP_R_CERTREQMSG_NOT_FOUND 157
  28. # define CMP_R_CERTRESPONSE_NOT_FOUND 113
  29. # define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114
  30. # define CMP_R_CHECKAFTER_OUT_OF_RANGE 181
  31. # define CMP_R_ENCOUNTERED_KEYUPDATEWARNING 176
  32. # define CMP_R_ENCOUNTERED_WAITING 162
  33. # define CMP_R_ERROR_CALCULATING_PROTECTION 115
  34. # define CMP_R_ERROR_CREATING_CERTCONF 116
  35. # define CMP_R_ERROR_CREATING_CERTREP 117
  36. # define CMP_R_ERROR_CREATING_CERTREQ 163
  37. # define CMP_R_ERROR_CREATING_ERROR 118
  38. # define CMP_R_ERROR_CREATING_GENM 119
  39. # define CMP_R_ERROR_CREATING_GENP 120
  40. # define CMP_R_ERROR_CREATING_PKICONF 122
  41. # define CMP_R_ERROR_CREATING_POLLREP 123
  42. # define CMP_R_ERROR_CREATING_POLLREQ 124
  43. # define CMP_R_ERROR_CREATING_RP 125
  44. # define CMP_R_ERROR_CREATING_RR 126
  45. # define CMP_R_ERROR_PARSING_PKISTATUS 107
  46. # define CMP_R_ERROR_PROCESSING_MESSAGE 158
  47. # define CMP_R_ERROR_PROTECTING_MESSAGE 127
  48. # define CMP_R_ERROR_SETTING_CERTHASH 128
  49. # define CMP_R_ERROR_UNEXPECTED_CERTCONF 160
  50. # define CMP_R_ERROR_VALIDATING_PROTECTION 140
  51. # define CMP_R_ERROR_VALIDATING_SIGNATURE 171
  52. # define CMP_R_FAILED_BUILDING_OWN_CHAIN 164
  53. # define CMP_R_FAILED_EXTRACTING_PUBKEY 141
  54. # define CMP_R_FAILURE_OBTAINING_RANDOM 110
  55. # define CMP_R_FAIL_INFO_OUT_OF_RANGE 129
  56. # define CMP_R_INVALID_ARGS 100
  57. # define CMP_R_INVALID_OPTION 174
  58. # define CMP_R_MISSING_CERTID 165
  59. # define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130
  60. # define CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE 142
  61. # define CMP_R_MISSING_P10CSR 121
  62. # define CMP_R_MISSING_PBM_SECRET 166
  63. # define CMP_R_MISSING_PRIVATE_KEY 131
  64. # define CMP_R_MISSING_PRIVATE_KEY_FOR_POPO 190
  65. # define CMP_R_MISSING_PROTECTION 143
  66. # define CMP_R_MISSING_PUBLIC_KEY 183
  67. # define CMP_R_MISSING_REFERENCE_CERT 168
  68. # define CMP_R_MISSING_SECRET 178
  69. # define CMP_R_MISSING_SENDER_IDENTIFICATION 111
  70. # define CMP_R_MISSING_TRUST_ANCHOR 179
  71. # define CMP_R_MISSING_TRUST_STORE 144
  72. # define CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED 161
  73. # define CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED 170
  74. # define CMP_R_MULTIPLE_SAN_SOURCES 102
  75. # define CMP_R_NO_STDIO 194
  76. # define CMP_R_NO_SUITABLE_SENDER_CERT 145
  77. # define CMP_R_NULL_ARGUMENT 103
  78. # define CMP_R_PKIBODY_ERROR 146
  79. # define CMP_R_PKISTATUSINFO_NOT_FOUND 132
  80. # define CMP_R_POLLING_FAILED 172
  81. # define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 147
  82. # define CMP_R_RECEIVED_ERROR 180
  83. # define CMP_R_RECIPNONCE_UNMATCHED 148
  84. # define CMP_R_REQUEST_NOT_ACCEPTED 149
  85. # define CMP_R_REQUEST_REJECTED_BY_SERVER 182
  86. # define CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED 150
  87. # define CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG 151
  88. # define CMP_R_TOTAL_TIMEOUT 184
  89. # define CMP_R_TRANSACTIONID_UNMATCHED 152
  90. # define CMP_R_TRANSFER_ERROR 159
  91. # define CMP_R_UNEXPECTED_PKIBODY 133
  92. # define CMP_R_UNEXPECTED_PKISTATUS 185
  93. # define CMP_R_UNEXPECTED_PVNO 153
  94. # define CMP_R_UNKNOWN_ALGORITHM_ID 134
  95. # define CMP_R_UNKNOWN_CERT_TYPE 135
  96. # define CMP_R_UNKNOWN_PKISTATUS 186
  97. # define CMP_R_UNSUPPORTED_ALGORITHM 136
  98. # define CMP_R_UNSUPPORTED_KEY_TYPE 137
  99. # define CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC 154
  100. # define CMP_R_VALUE_TOO_LARGE 175
  101. # define CMP_R_VALUE_TOO_SMALL 177
  102. # define CMP_R_WRONG_ALGORITHM_OID 138
  103. # define CMP_R_WRONG_CERTID 189
  104. # define CMP_R_WRONG_CERTID_IN_RP 187
  105. # define CMP_R_WRONG_PBM_VALUE 155
  106. # define CMP_R_WRONG_RP_COMPONENT_COUNT 188
  107. # define CMP_R_WRONG_SERIAL_IN_RP 173
  108. # endif
  109. #endif