Clear CRMF vs CMP confusion
[openssl.git] / include / openssl / crmferr.h
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 OpenSSL license (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
11 #ifndef HEADER_CRMFERR_H
12 # define HEADER_CRMFERR_H
13
14 # include <openssl/opensslconf.h>
15
16 # ifndef OPENSSL_NO_CRMF
17
18 #  ifdef  __cplusplus
19 extern "C"
20 #  endif
21 int ERR_load_CRMF_strings(void);
22
23 /*
24  * CRMF function codes.
25  */
26 #  define CRMF_F_CRMF_POPOSIGNINGKEY_INIT                  100
27 #  define CRMF_F_OSSL_CRMF_CERTID_GEN                      101
28 #  define CRMF_F_OSSL_CRMF_CERTTEMPLATE_FILL               102
29 #  define CRMF_F_OSSL_CRMF_ENCRYPTEDVALUE_GET1_ENCCERT     103
30 #  define CRMF_F_OSSL_CRMF_MSGS_VERIFY_POPO                104
31 #  define CRMF_F_OSSL_CRMF_MSG_CREATE_POPO                 105
32 #  define CRMF_F_OSSL_CRMF_MSG_GET0_TMPL                   106
33 #  define CRMF_F_OSSL_CRMF_MSG_GET_CERTREQID               107
34 #  define CRMF_F_OSSL_CRMF_MSG_PKIPUBLICATIONINFO_PUSH0_SINGLEPUBINFO 108
35 #  define CRMF_F_OSSL_CRMF_MSG_PUSH0_EXTENSION             109
36 #  define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGCTRL               110
37 #  define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGINFO               111
38 #  define CRMF_F_OSSL_CRMF_MSG_SET0_EXTENSIONS             112
39 #  define CRMF_F_OSSL_CRMF_MSG_SET0_SINGLEPUBINFO          113
40 #  define CRMF_F_OSSL_CRMF_MSG_SET_CERTREQID               114
41 #  define CRMF_F_OSSL_CRMF_MSG_SET_PKIPUBLICATIONINFO_ACTION 115
42 #  define CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY                116
43 #  define CRMF_F_OSSL_CRMF_PBMP_NEW                        117
44 #  define CRMF_F_OSSL_CRMF_PBM_NEW                         118
45
46 /*
47  * CRMF reason codes.
48  */
49 #  define CRMF_R_BAD_PBM_ITERATIONCOUNT                    100
50 #  define CRMF_R_MALFORMED_IV                              101
51 #  define CRMF_R_CRMFERROR                                 102
52 #  define CRMF_R_ERROR                                     103
53 #  define CRMF_R_ERROR_DECODING_CERTIFICATE                104
54 #  define CRMF_R_ERROR_DECRYPTING_CERTIFICATE              105
55 #  define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY            106
56 #  define CRMF_R_FAILURE_OBTAINING_RANDOM                  107
57 #  define CRMF_R_ITERATIONCOUNT_BELOW_100                  108
58 #  define CRMF_R_NULL_ARGUMENT                             109
59 #  define CRMF_R_SETTING_MAC_ALGOR_FAILURE                 110
60 #  define CRMF_R_SETTING_OWF_ALGOR_FAILURE                 111
61 #  define CRMF_R_UNSUPPORTED_ALGORITHM                     112
62 #  define CRMF_R_UNSUPPORTED_ALG_FOR_POPSIGNINGKEY         113
63 #  define CRMF_R_UNSUPPORTED_CIPHER                        114
64 #  define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO      115
65 #  define CRMF_R_UNSUPPORTED_POPO_METHOD                   116
66 #  define CRMF_R_UNSUPPORTED_POPO_NOT_ACCEPTED             117
67
68 # endif
69 #endif