]>
Commit | Line | Data |
---|---|---|
a61b7f2f DO |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
3 | * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. | |
4 | * | |
cbfa5b03 | 5 | * Licensed under the Apache License 2.0 (the "License"). You may not use |
a61b7f2f DO |
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_CRMFERR_H |
12 | # define OPENSSL_CRMFERR_H | |
a61b7f2f | 13 | |
cbfa5b03 RS |
14 | # include <openssl/opensslconf.h> |
15 | # include <openssl/symhacks.h> | |
16 | ||
17 | ||
a61b7f2f DO |
18 | # include <openssl/opensslconf.h> |
19 | ||
538f38db | 20 | # ifndef OPENSSL_NO_CRMF |
a61b7f2f | 21 | |
235595c4 | 22 | # ifdef __cplusplus |
a61b7f2f DO |
23 | extern "C" |
24 | # endif | |
25 | int ERR_load_CRMF_strings(void); | |
26 | ||
27 | /* | |
28 | * CRMF function codes. | |
29 | */ | |
235595c4 | 30 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 RS |
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 | |
235595c4 | 50 | # endif |
a61b7f2f DO |
51 | |
52 | /* | |
53 | * CRMF reason codes. | |
54 | */ | |
55 | # define CRMF_R_BAD_PBM_ITERATIONCOUNT 100 | |
a61b7f2f DO |
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 | |
cbfa5b03 | 63 | # define CRMF_R_MALFORMED_IV 101 |
a61b7f2f DO |
64 | # define CRMF_R_NULL_ARGUMENT 109 |
65 | # define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110 | |
66 | # define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111 | |
67 | # define CRMF_R_UNSUPPORTED_ALGORITHM 112 | |
68 | # define CRMF_R_UNSUPPORTED_ALG_FOR_POPSIGNINGKEY 113 | |
69 | # define CRMF_R_UNSUPPORTED_CIPHER 114 | |
70 | # define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115 | |
71 | # define CRMF_R_UNSUPPORTED_POPO_METHOD 116 | |
72 | # define CRMF_R_UNSUPPORTED_POPO_NOT_ACCEPTED 117 | |
73 | ||
74 | # endif | |
75 | #endif |