]>
Commit | Line | Data |
---|---|---|
8869ad4a AK |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
62dcd2aa | 3 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. |
8869ad4a AK |
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 | ||
ae4186b0 DMSP |
11 | #ifndef OPENSSL_CMPERR_H |
12 | # define OPENSSL_CMPERR_H | |
8869ad4a | 13 | |
cbfa5b03 RS |
14 | # include <openssl/opensslconf.h> |
15 | # include <openssl/symhacks.h> | |
16 | ||
17 | ||
8869ad4a AK |
18 | # include <openssl/opensslconf.h> |
19 | ||
20 | # ifndef OPENSSL_NO_CMP | |
21 | ||
62dcd2aa | 22 | # ifdef __cplusplus |
8869ad4a AK |
23 | extern "C" |
24 | # endif | |
25 | int ERR_load_CMP_strings(void); | |
26 | ||
27 | /* | |
28 | * CMP function codes. | |
29 | */ | |
62dcd2aa DDO |
30 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
31 | # endif | |
8869ad4a AK |
32 | |
33 | /* | |
34 | * CMP reason codes. | |
35 | */ | |
31b28ad9 | 36 | # define CMP_R_ALGORITHM_NOT_SUPPORTED 139 |
7e765f46 | 37 | # define CMP_R_BAD_CHECKAFTER_IN_POLLREP 167 |
3dbc5156 | 38 | # define CMP_R_BAD_REQUEST_ID 108 |
62dcd2aa | 39 | # define CMP_R_CERTHASH_UNMATCHED 156 |
3dbc5156 | 40 | # define CMP_R_CERTID_NOT_FOUND 109 |
7e765f46 | 41 | # define CMP_R_CERTIFICATE_NOT_ACCEPTED 169 |
3dbc5156 | 42 | # define CMP_R_CERTIFICATE_NOT_FOUND 112 |
62dcd2aa | 43 | # define CMP_R_CERTREQMSG_NOT_FOUND 157 |
3dbc5156 DDO |
44 | # define CMP_R_CERTRESPONSE_NOT_FOUND 113 |
45 | # define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114 | |
7e765f46 | 46 | # define CMP_R_CHECKAFTER_OUT_OF_RANGE 181 |
d8039304 | 47 | # define CMP_R_CHECKING_PBM_NO_SECRET_AVAILABLE 166 |
7e765f46 DDO |
48 | # define CMP_R_ENCOUNTERED_KEYUPDATEWARNING 176 |
49 | # define CMP_R_ENCOUNTERED_WAITING 162 | |
3dbc5156 DDO |
50 | # define CMP_R_ERROR_CALCULATING_PROTECTION 115 |
51 | # define CMP_R_ERROR_CREATING_CERTCONF 116 | |
52 | # define CMP_R_ERROR_CREATING_CERTREP 117 | |
7e765f46 | 53 | # define CMP_R_ERROR_CREATING_CR 163 |
3dbc5156 DDO |
54 | # define CMP_R_ERROR_CREATING_ERROR 118 |
55 | # define CMP_R_ERROR_CREATING_GENM 119 | |
56 | # define CMP_R_ERROR_CREATING_GENP 120 | |
7e765f46 DDO |
57 | # define CMP_R_ERROR_CREATING_IR 164 |
58 | # define CMP_R_ERROR_CREATING_KUR 165 | |
3dbc5156 DDO |
59 | # define CMP_R_ERROR_CREATING_P10CR 121 |
60 | # define CMP_R_ERROR_CREATING_PKICONF 122 | |
61 | # define CMP_R_ERROR_CREATING_POLLREP 123 | |
62 | # define CMP_R_ERROR_CREATING_POLLREQ 124 | |
63 | # define CMP_R_ERROR_CREATING_RP 125 | |
64 | # define CMP_R_ERROR_CREATING_RR 126 | |
4dde554c | 65 | # define CMP_R_ERROR_PARSING_PKISTATUS 107 |
7e765f46 | 66 | # define CMP_R_ERROR_PROCESSING_MESSAGE 158 |
3dbc5156 DDO |
67 | # define CMP_R_ERROR_PROTECTING_MESSAGE 127 |
68 | # define CMP_R_ERROR_SETTING_CERTHASH 128 | |
62dcd2aa | 69 | # define CMP_R_ERROR_UNEXPECTED_CERTCONF 160 |
31b28ad9 DDO |
70 | # define CMP_R_ERROR_VALIDATING_PROTECTION 140 |
71 | # define CMP_R_FAILED_EXTRACTING_PUBKEY 141 | |
4dde554c | 72 | # define CMP_R_FAILURE_OBTAINING_RANDOM 110 |
3dbc5156 | 73 | # define CMP_R_FAIL_INFO_OUT_OF_RANGE 129 |
7960dbec | 74 | # define CMP_R_INVALID_ARGS 100 |
3dbc5156 | 75 | # define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130 |
31b28ad9 | 76 | # define CMP_R_MISSING_KEY_USAGE_DIGITALSIGNATURE 142 |
3dbc5156 | 77 | # define CMP_R_MISSING_PRIVATE_KEY 131 |
31b28ad9 | 78 | # define CMP_R_MISSING_PROTECTION 143 |
4dde554c | 79 | # define CMP_R_MISSING_SENDER_IDENTIFICATION 111 |
31b28ad9 | 80 | # define CMP_R_MISSING_TRUST_STORE 144 |
62dcd2aa | 81 | # define CMP_R_MULTIPLE_REQUESTS_NOT_SUPPORTED 161 |
7e765f46 | 82 | # define CMP_R_MULTIPLE_RESPONSES_NOT_SUPPORTED 170 |
3dbc5156 | 83 | # define CMP_R_MULTIPLE_SAN_SOURCES 102 |
7960dbec | 84 | # define CMP_R_NO_STDIO 194 |
31b28ad9 | 85 | # define CMP_R_NO_SUITABLE_SENDER_CERT 145 |
7960dbec | 86 | # define CMP_R_NULL_ARGUMENT 103 |
31b28ad9 | 87 | # define CMP_R_PKIBODY_ERROR 146 |
3dbc5156 | 88 | # define CMP_R_PKISTATUSINFO_NOT_FOUND 132 |
7e765f46 | 89 | # define CMP_R_POLLING_FAILED 172 |
31b28ad9 | 90 | # define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 147 |
7e765f46 | 91 | # define CMP_R_RECEIVED_ERROR 180 |
31b28ad9 DDO |
92 | # define CMP_R_RECIPNONCE_UNMATCHED 148 |
93 | # define CMP_R_REQUEST_NOT_ACCEPTED 149 | |
7e765f46 | 94 | # define CMP_R_REQUEST_REJECTED_BY_SERVER 182 |
31b28ad9 DDO |
95 | # define CMP_R_SENDER_GENERALNAME_TYPE_NOT_SUPPORTED 150 |
96 | # define CMP_R_SRVCERT_DOES_NOT_VALIDATE_MSG 151 | |
7e765f46 | 97 | # define CMP_R_TOTAL_TIMEOUT 184 |
31b28ad9 | 98 | # define CMP_R_TRANSACTIONID_UNMATCHED 152 |
7e765f46 | 99 | # define CMP_R_TRANSFER_ERROR 159 |
3dbc5156 | 100 | # define CMP_R_UNEXPECTED_PKIBODY 133 |
7e765f46 | 101 | # define CMP_R_UNEXPECTED_PKISTATUS 185 |
31b28ad9 | 102 | # define CMP_R_UNEXPECTED_PVNO 153 |
3dbc5156 DDO |
103 | # define CMP_R_UNKNOWN_ALGORITHM_ID 134 |
104 | # define CMP_R_UNKNOWN_CERT_TYPE 135 | |
7e765f46 | 105 | # define CMP_R_UNKNOWN_PKISTATUS 186 |
3dbc5156 DDO |
106 | # define CMP_R_UNSUPPORTED_ALGORITHM 136 |
107 | # define CMP_R_UNSUPPORTED_KEY_TYPE 137 | |
31b28ad9 | 108 | # define CMP_R_UNSUPPORTED_PROTECTION_ALG_DHBASEDMAC 154 |
3dbc5156 | 109 | # define CMP_R_WRONG_ALGORITHM_OID 138 |
7e765f46 | 110 | # define CMP_R_WRONG_CERTID_IN_RP 187 |
31b28ad9 | 111 | # define CMP_R_WRONG_PBM_VALUE 155 |
7e765f46 DDO |
112 | # define CMP_R_WRONG_RP_COMPONENT_COUNT 188 |
113 | # define CMP_R_WRONG_SERIAL_IN_RP 173 | |
8869ad4a AK |
114 | |
115 | # endif | |
116 | #endif |