check_chain_extensions(): Add check that Basic Constraints of CA cert are marked...
[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 # pragma once
14
15 # include <openssl/opensslconf.h>
16 # include <openssl/symhacks.h>
17
18
19 # include <openssl/opensslconf.h>
20
21 # ifndef OPENSSL_NO_CRMF
22
23 #  ifdef  __cplusplus
24 extern "C"
25 #  endif
26 int ERR_load_CRMF_strings(void);
27
28 /*
29  * CRMF function codes.
30  */
31 # ifndef OPENSSL_NO_DEPRECATED_3_0
32 #   define CRMF_F_CRMF_POPOSIGNINGKEY_INIT                  0
33 #   define CRMF_F_OSSL_CRMF_CERTID_GEN                      0
34 #   define CRMF_F_OSSL_CRMF_CERTTEMPLATE_FILL               0
35 #   define CRMF_F_OSSL_CRMF_ENCRYPTEDVALUE_GET1_ENCCERT     0
36 #   define CRMF_F_OSSL_CRMF_MSGS_VERIFY_POPO                0
37 #   define CRMF_F_OSSL_CRMF_MSG_CREATE_POPO                 0
38 #   define CRMF_F_OSSL_CRMF_MSG_GET0_TMPL                   0
39 #   define CRMF_F_OSSL_CRMF_MSG_GET_CERTREQID               0
40 #   define CRMF_F_OSSL_CRMF_MSG_PKIPUBLICATIONINFO_PUSH0_SINGLEPUBINFO 0
41 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_EXTENSION             0
42 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGCTRL               0
43 #   define CRMF_F_OSSL_CRMF_MSG_PUSH0_REGINFO               0
44 #   define CRMF_F_OSSL_CRMF_MSG_SET0_EXTENSIONS             0
45 #   define CRMF_F_OSSL_CRMF_MSG_SET0_SINGLEPUBINFO          0
46 #   define CRMF_F_OSSL_CRMF_MSG_SET_CERTREQID               0
47 #   define CRMF_F_OSSL_CRMF_MSG_SET_PKIPUBLICATIONINFO_ACTION 0
48 #   define CRMF_F_OSSL_CRMF_MSG_SET0_VALIDITY               0
49 #   define CRMF_F_OSSL_CRMF_PBMP_NEW                        0
50 #   define CRMF_F_OSSL_CRMF_PBM_NEW                         0
51 # endif
52
53 /*
54  * CRMF reason codes.
55  */
56 #  define CRMF_R_BAD_PBM_ITERATIONCOUNT                    100
57 #  define CRMF_R_CRMFERROR                                 102
58 #  define CRMF_R_ERROR                                     103
59 #  define CRMF_R_ERROR_DECODING_CERTIFICATE                104
60 #  define CRMF_R_ERROR_DECRYPTING_CERTIFICATE              105
61 #  define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY            106
62 #  define CRMF_R_FAILURE_OBTAINING_RANDOM                  107
63 #  define CRMF_R_ITERATIONCOUNT_BELOW_100                  108
64 #  define CRMF_R_MALFORMED_IV                              101
65 #  define CRMF_R_NULL_ARGUMENT                             109
66 #  define CRMF_R_POPOSKINPUT_NOT_SUPPORTED                 113
67 #  define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY              117
68 #  define CRMF_R_POPO_MISSING                              121
69 #  define CRMF_R_POPO_MISSING_PUBLIC_KEY                   118
70 #  define CRMF_R_POPO_MISSING_SUBJECT                      119
71 #  define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED              120
72 #  define CRMF_R_SETTING_MAC_ALGOR_FAILURE                 110
73 #  define CRMF_R_SETTING_OWF_ALGOR_FAILURE                 111
74 #  define CRMF_R_UNSUPPORTED_ALGORITHM                     112
75 #  define CRMF_R_UNSUPPORTED_CIPHER                        114
76 #  define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO      115
77 #  define CRMF_R_UNSUPPORTED_POPO_METHOD                   116
78
79 # endif
80 #endif