crypto/cms: Add support for CAdES Basic Electronic Signatures (CAdES-BES)
[openssl.git] / include / openssl / esserr.h
1 /*
2  * Generated by util/mkerr.pl DO NOT EDIT
3  * Copyright 1995-2018 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 HEADER_ESSERR_H
12 # define HEADER_ESSERR_H
13
14 # include <openssl/opensslconf.h>
15
16 # ifdef  __cplusplus
17 extern "C"
18 # endif
19 int ERR_load_ESS_strings(void);
20
21 /*
22  * ESS function codes.
23  */
24 # define ESS_F_ESS_CERT_ID_NEW_INIT                       100
25 # define ESS_F_ESS_CERT_ID_V2_NEW_INIT                    101
26 # define ESS_F_ESS_SIGNING_CERT_ADD                       104
27 # define ESS_F_ESS_SIGNING_CERT_NEW_INIT                  102
28 # define ESS_F_ESS_SIGNING_CERT_V2_ADD                    105
29 # define ESS_F_ESS_SIGNING_CERT_V2_NEW_INIT               103
30
31 /*
32  * ESS reason codes.
33  */
34 # define ESS_R_ESS_SIGNING_CERTIFICATE_ERROR              102
35 # define ESS_R_ESS_SIGNING_CERT_ADD_ERROR                 100
36 # define ESS_R_ESS_SIGNING_CERT_V2_ADD_ERROR              101
37
38 #endif