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