]>
Commit | Line | Data |
---|---|---|
a61b7f2f DO |
1 | /* |
2 | * Generated by util/mkerr.pl DO NOT EDIT | |
62dcd2aa | 3 | * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. |
a61b7f2f | 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 | |
6d1f50b5 | 13 | # pragma once |
a61b7f2f | 14 | |
cbfa5b03 RS |
15 | # include <openssl/opensslconf.h> |
16 | # include <openssl/symhacks.h> | |
17 | ||
18 | ||
a61b7f2f DO |
19 | # include <openssl/opensslconf.h> |
20 | ||
538f38db | 21 | # ifndef OPENSSL_NO_CRMF |
a61b7f2f | 22 | |
62dcd2aa | 23 | # ifdef __cplusplus |
a61b7f2f DO |
24 | extern "C" |
25 | # endif | |
26 | int ERR_load_CRMF_strings(void); | |
27 | ||
28 | /* | |
29 | * CRMF function codes. | |
30 | */ | |
62dcd2aa | 31 | # ifndef OPENSSL_NO_DEPRECATED_3_0 |
cbfa5b03 RS |
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 | |
11baa470 | 48 | # define CRMF_F_OSSL_CRMF_MSG_SET0_VALIDITY 0 |
cbfa5b03 RS |
49 | # define CRMF_F_OSSL_CRMF_PBMP_NEW 0 |
50 | # define CRMF_F_OSSL_CRMF_PBM_NEW 0 | |
62dcd2aa | 51 | # endif |
a61b7f2f DO |
52 | |
53 | /* | |
54 | * CRMF reason codes. | |
55 | */ | |
56 | # define CRMF_R_BAD_PBM_ITERATIONCOUNT 100 | |
a61b7f2f DO |
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 | |
cbfa5b03 | 64 | # define CRMF_R_MALFORMED_IV 101 |
a61b7f2f | 65 | # define CRMF_R_NULL_ARGUMENT 109 |
6d1f50b5 | 66 | # define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113 |
62dcd2aa | 67 | # define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117 |
7269071e | 68 | # define CRMF_R_POPO_MISSING 121 |
62dcd2aa DDO |
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 | |
a61b7f2f DO |
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 | |
a61b7f2f DO |
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 | |
a61b7f2f DO |
78 | |
79 | # endif | |
80 | #endif |