Constify X509_PUBKEY_get(), X509_PUBKEY_get0(), and X509_PUBKEY_get0_param()
[openssl.git] / include / openssl / crmferr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2020 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
11 #ifndef OPENSSL_CRMFERR_H
12 # define OPENSSL_CRMFERR_H
13
14 # include <openssl/opensslconf.h>
15 # include <openssl/symhacks.h>
16
17
18 # include <openssl/opensslconf.h>
19
20 # ifndef OPENSSL_NO_CRMF
21
22 #  ifdef  __cplusplus
23 extern "C"
24 #  endif
25 int ERR_load_CRMF_strings(void);
26
27 /*
28  * CRMF function codes.
29  */
30 # ifndef OPENSSL_NO_DEPRECATED_3_0
31 #   define CRMF_F_CRMF_POPOSIGNINGKEY_INIT                  0
32 #   define CRMF_F_OSSL_CRMF_CERTID_GEN                      0
33 #   define CRMF_F_OSSL_CRMF_CERTTEMPLATE_FILL               0
34 #   define CRMF_F_OSSL_CRMF_ENCRYPTEDVALUE_GET1_ENCCERT     0
35 #   define CRMF_F_OSSL_CRMF_MSGS_VERIFY_POPO                0
36 #   define CRMF_F_OSSL_CRMF_MSG_CREATE_POPO                 0
37 #   define CRMF_F_OSSL_CRMF_MSG_GET0_TMPL                   0
38 #   define CRMF_F_OSSL_CRMF_MSG_GET_CERTREQID               0
39 #   define CRMF_F_OSSL_CRMF_MSG_PKIPUBLICATIONINFO_PUSH0_SINGLEPUBINFO 0
40 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_EXTENSION             0
41 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGCTRL               0
42 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGINFO               0
43 #   define CRMF_F_OSSL_CRMF_MSG_SET0_EXTENSIONS             0
44 #   define CRMF_F_OSSL_CRMF_MSG_SET0_SINGLEPUBINFO          0
45 #   define CRMF_F_OSSL_CRMF_MSG_SET_CERTREQID               0
46 #   define CRMF_F_OSSL_CRMF_MSG_SET_PKIPUBLICATIONINFO_ACTION 0
47 #   define CRMF_F_OSSL_CRMF_MSG_SET_VALIDITY                0
48 #   define CRMF_F_OSSL_CRMF_PBMP_NEW                        0
49 #   define CRMF_F_OSSL_CRMF_PBM_NEW                         0
50 # endif
51
52 /*
53  * CRMF reason codes.
54  */
55 #  define CRMF_R_BAD_PBM_ITERATIONCOUNT                    100
56 #  define CRMF_R_CRMFERROR                                 102
57 #  define CRMF_R_ERROR                                     103
58 #  define CRMF_R_ERROR_DECODING_CERTIFICATE                104
59 #  define CRMF_R_ERROR_DECRYPTING_CERTIFICATE              105
60 #  define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY            106
61 #  define CRMF_R_FAILURE_OBTAINING_RANDOM                  107
62 #  define CRMF_R_ITERATIONCOUNT_BELOW_100                  108
63 #  define CRMF_R_MALFORMED_IV                              101
64 #  define CRMF_R_NULL_ARGUMENT                             109
65 #  define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY              117
66 #  define CRMF_R_POPO_MISSING                              121
67 #  define CRMF_R_POPO_MISSING_PUBLIC_KEY                   118
68 #  define CRMF_R_POPO_MISSING_SUBJECT                      119
69 #  define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED              120
70 #  define CRMF_R_SETTING_MAC_ALGOR_FAILURE                 110
71 #  define CRMF_R_SETTING_OWF_ALGOR_FAILURE                 111
72 #  define CRMF_R_UNSUPPORTED_ALGORITHM                     112
73 #  define CRMF_R_UNSUPPORTED_ALG_FOR_POPSIGNINGKEY         113
74 #  define CRMF_R_UNSUPPORTED_CIPHER                        114
75 #  define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO      115
76 #  define CRMF_R_UNSUPPORTED_POPO_METHOD                   116
77
78 # endif
79 #endif