]> git.ipfire.org Git - thirdparty/openssl.git/blob - include/openssl/tserr.h
Fix header file include guard names
[thirdparty/openssl.git] / include / openssl / tserr.h
1 /*
2 * Generated by util/mkerr.pl DO NOT EDIT
3 * Copyright 1995-2019 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_TSERR_H
12 # define OPENSSL_TSERR_H
13
14 # include <openssl/opensslconf.h>
15 # include <openssl/symhacks.h>
16
17
18 # include <openssl/opensslconf.h>
19
20 # ifndef OPENSSL_NO_TS
21
22 # ifdef __cplusplus
23 extern "C"
24 # endif
25 int ERR_load_TS_strings(void);
26
27 /*
28 * TS function codes.
29 */
30 # if !OPENSSL_API_3
31 # define TS_F_DEF_SERIAL_CB 0
32 # define TS_F_DEF_TIME_CB 0
33 # define TS_F_INT_TS_RESP_VERIFY_TOKEN 0
34 # define TS_F_PKCS7_TO_TS_TST_INFO 0
35 # define TS_F_TS_ACCURACY_SET_MICROS 0
36 # define TS_F_TS_ACCURACY_SET_MILLIS 0
37 # define TS_F_TS_ACCURACY_SET_SECONDS 0
38 # define TS_F_TS_CHECK_IMPRINTS 0
39 # define TS_F_TS_CHECK_NONCES 0
40 # define TS_F_TS_CHECK_POLICY 0
41 # define TS_F_TS_CHECK_SIGNING_CERTS 0
42 # define TS_F_TS_CHECK_STATUS_INFO 0
43 # define TS_F_TS_COMPUTE_IMPRINT 0
44 # define TS_F_TS_CONF_INVALID 0
45 # define TS_F_TS_CONF_LOAD_CERT 0
46 # define TS_F_TS_CONF_LOAD_CERTS 0
47 # define TS_F_TS_CONF_LOAD_KEY 0
48 # define TS_F_TS_CONF_LOOKUP_FAIL 0
49 # define TS_F_TS_CONF_SET_DEFAULT_ENGINE 0
50 # define TS_F_TS_GET_STATUS_TEXT 0
51 # define TS_F_TS_MSG_IMPRINT_SET_ALGO 0
52 # define TS_F_TS_REQ_SET_MSG_IMPRINT 0
53 # define TS_F_TS_REQ_SET_NONCE 0
54 # define TS_F_TS_REQ_SET_POLICY_ID 0
55 # define TS_F_TS_RESP_CREATE_RESPONSE 0
56 # define TS_F_TS_RESP_CREATE_TST_INFO 0
57 # define TS_F_TS_RESP_CTX_ADD_FAILURE_INFO 0
58 # define TS_F_TS_RESP_CTX_ADD_MD 0
59 # define TS_F_TS_RESP_CTX_ADD_POLICY 0
60 # define TS_F_TS_RESP_CTX_NEW 0
61 # define TS_F_TS_RESP_CTX_SET_ACCURACY 0
62 # define TS_F_TS_RESP_CTX_SET_CERTS 0
63 # define TS_F_TS_RESP_CTX_SET_DEF_POLICY 0
64 # define TS_F_TS_RESP_CTX_SET_SIGNER_CERT 0
65 # define TS_F_TS_RESP_CTX_SET_STATUS_INFO 0
66 # define TS_F_TS_RESP_GET_POLICY 0
67 # define TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION 0
68 # define TS_F_TS_RESP_SET_STATUS_INFO 0
69 # define TS_F_TS_RESP_SET_TST_INFO 0
70 # define TS_F_TS_RESP_SIGN 0
71 # define TS_F_TS_RESP_VERIFY_SIGNATURE 0
72 # define TS_F_TS_TST_INFO_SET_ACCURACY 0
73 # define TS_F_TS_TST_INFO_SET_MSG_IMPRINT 0
74 # define TS_F_TS_TST_INFO_SET_NONCE 0
75 # define TS_F_TS_TST_INFO_SET_POLICY_ID 0
76 # define TS_F_TS_TST_INFO_SET_SERIAL 0
77 # define TS_F_TS_TST_INFO_SET_TIME 0
78 # define TS_F_TS_TST_INFO_SET_TSA 0
79 # define TS_F_TS_VERIFY 0
80 # define TS_F_TS_VERIFY_CERT 0
81 # define TS_F_TS_VERIFY_CTX_NEW 0
82 # endif
83
84 /*
85 * TS reason codes.
86 */
87 # define TS_R_BAD_PKCS7_TYPE 132
88 # define TS_R_BAD_TYPE 133
89 # define TS_R_CANNOT_LOAD_CERT 137
90 # define TS_R_CANNOT_LOAD_KEY 138
91 # define TS_R_CERTIFICATE_VERIFY_ERROR 100
92 # define TS_R_COULD_NOT_SET_ENGINE 127
93 # define TS_R_COULD_NOT_SET_TIME 115
94 # define TS_R_DETACHED_CONTENT 134
95 # define TS_R_ESS_ADD_SIGNING_CERT_ERROR 116
96 # define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR 139
97 # define TS_R_ESS_SIGNING_CERTIFICATE_ERROR 101
98 # define TS_R_INVALID_NULL_POINTER 102
99 # define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE 117
100 # define TS_R_MESSAGE_IMPRINT_MISMATCH 103
101 # define TS_R_NONCE_MISMATCH 104
102 # define TS_R_NONCE_NOT_RETURNED 105
103 # define TS_R_NO_CONTENT 106
104 # define TS_R_NO_TIME_STAMP_TOKEN 107
105 # define TS_R_PKCS7_ADD_SIGNATURE_ERROR 118
106 # define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR 119
107 # define TS_R_PKCS7_TO_TS_TST_INFO_FAILED 129
108 # define TS_R_POLICY_MISMATCH 108
109 # define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 120
110 # define TS_R_RESPONSE_SETUP_ERROR 121
111 # define TS_R_SIGNATURE_FAILURE 109
112 # define TS_R_THERE_MUST_BE_ONE_SIGNER 110
113 # define TS_R_TIME_SYSCALL_ERROR 122
114 # define TS_R_TOKEN_NOT_PRESENT 130
115 # define TS_R_TOKEN_PRESENT 131
116 # define TS_R_TSA_NAME_MISMATCH 111
117 # define TS_R_TSA_UNTRUSTED 112
118 # define TS_R_TST_INFO_SETUP_ERROR 123
119 # define TS_R_TS_DATASIGN 124
120 # define TS_R_UNACCEPTABLE_POLICY 125
121 # define TS_R_UNSUPPORTED_MD_ALGORITHM 126
122 # define TS_R_UNSUPPORTED_VERSION 113
123 # define TS_R_VAR_BAD_VALUE 135
124 # define TS_R_VAR_LOOKUP_FAILURE 136
125 # define TS_R_WRONG_CONTENT_TYPE 114
126
127 # endif
128 #endif