]>
Commit | Line | Data |
---|---|---|
8869ad4a AK |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
3 | * Copyright 1995-2019 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 | ||
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 | ||
22 | # ifdef __cplusplus | |
23 | extern "C" | |
24 | # endif | |
25 | int ERR_load_CMP_strings(void); | |
26 | ||
27 | /* | |
28 | * CMP function codes. | |
29 | */ | |
936c2b9e | 30 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 | 31 | # endif |
8869ad4a AK |
32 | |
33 | /* | |
34 | * CMP reason codes. | |
35 | */ | |
3dbc5156 DDO |
36 | # define CMP_R_BAD_REQUEST_ID 108 |
37 | # define CMP_R_CERTID_NOT_FOUND 109 | |
38 | # define CMP_R_CERTIFICATE_NOT_FOUND 112 | |
39 | # define CMP_R_CERTRESPONSE_NOT_FOUND 113 | |
40 | # define CMP_R_CERT_AND_KEY_DO_NOT_MATCH 114 | |
41 | # define CMP_R_ERROR_CALCULATING_PROTECTION 115 | |
42 | # define CMP_R_ERROR_CREATING_CERTCONF 116 | |
43 | # define CMP_R_ERROR_CREATING_CERTREP 117 | |
44 | # define CMP_R_ERROR_CREATING_ERROR 118 | |
45 | # define CMP_R_ERROR_CREATING_GENM 119 | |
46 | # define CMP_R_ERROR_CREATING_GENP 120 | |
47 | # define CMP_R_ERROR_CREATING_P10CR 121 | |
48 | # define CMP_R_ERROR_CREATING_PKICONF 122 | |
49 | # define CMP_R_ERROR_CREATING_POLLREP 123 | |
50 | # define CMP_R_ERROR_CREATING_POLLREQ 124 | |
51 | # define CMP_R_ERROR_CREATING_RP 125 | |
52 | # define CMP_R_ERROR_CREATING_RR 126 | |
4dde554c | 53 | # define CMP_R_ERROR_PARSING_PKISTATUS 107 |
3dbc5156 DDO |
54 | # define CMP_R_ERROR_PROTECTING_MESSAGE 127 |
55 | # define CMP_R_ERROR_SETTING_CERTHASH 128 | |
4dde554c | 56 | # define CMP_R_FAILURE_OBTAINING_RANDOM 110 |
3dbc5156 | 57 | # define CMP_R_FAIL_INFO_OUT_OF_RANGE 129 |
7960dbec | 58 | # define CMP_R_INVALID_ARGS 100 |
3dbc5156 DDO |
59 | # define CMP_R_MISSING_KEY_INPUT_FOR_CREATING_PROTECTION 130 |
60 | # define CMP_R_MISSING_PRIVATE_KEY 131 | |
4dde554c | 61 | # define CMP_R_MISSING_SENDER_IDENTIFICATION 111 |
3dbc5156 | 62 | # define CMP_R_MULTIPLE_SAN_SOURCES 102 |
7960dbec DDO |
63 | # define CMP_R_NO_STDIO 194 |
64 | # define CMP_R_NULL_ARGUMENT 103 | |
3dbc5156 | 65 | # define CMP_R_PKISTATUSINFO_NOT_FOUND 132 |
29f178bd | 66 | # define CMP_R_POTENTIALLY_INVALID_CERTIFICATE 139 |
3dbc5156 DDO |
67 | # define CMP_R_UNEXPECTED_PKIBODY 133 |
68 | # define CMP_R_UNKNOWN_ALGORITHM_ID 134 | |
69 | # define CMP_R_UNKNOWN_CERT_TYPE 135 | |
70 | # define CMP_R_UNSUPPORTED_ALGORITHM 136 | |
71 | # define CMP_R_UNSUPPORTED_KEY_TYPE 137 | |
72 | # define CMP_R_WRONG_ALGORITHM_OID 138 | |
8869ad4a AK |
73 | |
74 | # endif | |
75 | #endif |