]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/tserr.h
Small simplification in mkerr.pl
[thirdparty/openssl.git] / include / openssl / tserr.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
048ebccb 3 * Copyright 1995-2018 The OpenSSL Project Authors. All Rights Reserved.
52df25cf
RS
4 *
5 * Licensed under the OpenSSL license (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_TSERR_H
12# define HEADER_TSERR_H
13
048ebccb
RL
14# include <openssl/opensslconf.h>
15
16# ifndef OPENSSL_NO_TS
17
18# ifdef __cplusplus
a699b8e4 19extern "C"
048ebccb 20# endif
52df25cf 21int ERR_load_TS_strings(void);
52df25cf
RS
22
23/*
24 * TS function codes.
25 */
048ebccb
RL
26# define TS_F_DEF_SERIAL_CB 110
27# define TS_F_DEF_TIME_CB 111
28# define TS_F_ESS_ADD_SIGNING_CERT 112
29# define TS_F_ESS_ADD_SIGNING_CERT_V2 147
30# define TS_F_ESS_CERT_ID_NEW_INIT 113
31# define TS_F_ESS_CERT_ID_V2_NEW_INIT 156
32# define TS_F_ESS_SIGNING_CERT_NEW_INIT 114
33# define TS_F_ESS_SIGNING_CERT_V2_NEW_INIT 157
34# define TS_F_INT_TS_RESP_VERIFY_TOKEN 149
35# define TS_F_PKCS7_TO_TS_TST_INFO 148
36# define TS_F_TS_ACCURACY_SET_MICROS 115
37# define TS_F_TS_ACCURACY_SET_MILLIS 116
38# define TS_F_TS_ACCURACY_SET_SECONDS 117
39# define TS_F_TS_CHECK_IMPRINTS 100
40# define TS_F_TS_CHECK_NONCES 101
41# define TS_F_TS_CHECK_POLICY 102
42# define TS_F_TS_CHECK_SIGNING_CERTS 103
43# define TS_F_TS_CHECK_STATUS_INFO 104
44# define TS_F_TS_COMPUTE_IMPRINT 145
45# define TS_F_TS_CONF_INVALID 151
46# define TS_F_TS_CONF_LOAD_CERT 153
47# define TS_F_TS_CONF_LOAD_CERTS 154
48# define TS_F_TS_CONF_LOAD_KEY 155
49# define TS_F_TS_CONF_LOOKUP_FAIL 152
50# define TS_F_TS_CONF_SET_DEFAULT_ENGINE 146
51# define TS_F_TS_GET_STATUS_TEXT 105
52# define TS_F_TS_MSG_IMPRINT_SET_ALGO 118
53# define TS_F_TS_REQ_SET_MSG_IMPRINT 119
54# define TS_F_TS_REQ_SET_NONCE 120
55# define TS_F_TS_REQ_SET_POLICY_ID 121
56# define TS_F_TS_RESP_CREATE_RESPONSE 122
57# define TS_F_TS_RESP_CREATE_TST_INFO 123
58# define TS_F_TS_RESP_CTX_ADD_FAILURE_INFO 124
59# define TS_F_TS_RESP_CTX_ADD_MD 125
60# define TS_F_TS_RESP_CTX_ADD_POLICY 126
61# define TS_F_TS_RESP_CTX_NEW 127
62# define TS_F_TS_RESP_CTX_SET_ACCURACY 128
63# define TS_F_TS_RESP_CTX_SET_CERTS 129
64# define TS_F_TS_RESP_CTX_SET_DEF_POLICY 130
65# define TS_F_TS_RESP_CTX_SET_SIGNER_CERT 131
66# define TS_F_TS_RESP_CTX_SET_STATUS_INFO 132
67# define TS_F_TS_RESP_GET_POLICY 133
68# define TS_F_TS_RESP_SET_GENTIME_WITH_PRECISION 134
69# define TS_F_TS_RESP_SET_STATUS_INFO 135
70# define TS_F_TS_RESP_SET_TST_INFO 150
71# define TS_F_TS_RESP_SIGN 136
72# define TS_F_TS_RESP_VERIFY_SIGNATURE 106
73# define TS_F_TS_TST_INFO_SET_ACCURACY 137
74# define TS_F_TS_TST_INFO_SET_MSG_IMPRINT 138
75# define TS_F_TS_TST_INFO_SET_NONCE 139
76# define TS_F_TS_TST_INFO_SET_POLICY_ID 140
77# define TS_F_TS_TST_INFO_SET_SERIAL 141
78# define TS_F_TS_TST_INFO_SET_TIME 142
79# define TS_F_TS_TST_INFO_SET_TSA 143
80# define TS_F_TS_VERIFY 108
81# define TS_F_TS_VERIFY_CERT 109
82# define TS_F_TS_VERIFY_CTX_NEW 144
52df25cf
RS
83
84/*
85 * TS reason codes.
86 */
048ebccb
RL
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
52df25cf 126
048ebccb 127# endif
52df25cf 128#endif