xref: /netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/tserr.h (revision b0d1725196a7921d003d2c66a14f186abda4176b)
113d40330Schristos /*
213d40330Schristos  * Generated by util/mkerr.pl DO NOT EDIT
3*b0d17251Schristos  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
413d40330Schristos  *
5*b0d17251Schristos  * Licensed under the Apache License 2.0 (the "License").  You may not use
613d40330Schristos  * this file except in compliance with the License.  You can obtain a copy
713d40330Schristos  * in the file LICENSE in the source distribution or at
813d40330Schristos  * https://www.openssl.org/source/license.html
913d40330Schristos  */
1013d40330Schristos 
11*b0d17251Schristos #ifndef OPENSSL_TSERR_H
12*b0d17251Schristos # define OPENSSL_TSERR_H
13*b0d17251Schristos # pragma once
144ce06407Schristos 
1513d40330Schristos # include <openssl/opensslconf.h>
16*b0d17251Schristos # include <openssl/symhacks.h>
17*b0d17251Schristos # include <openssl/cryptoerr_legacy.h>
18*b0d17251Schristos 
1913d40330Schristos 
2013d40330Schristos # ifndef OPENSSL_NO_TS
2113d40330Schristos 
2213d40330Schristos 
2313d40330Schristos /*
2413d40330Schristos  * TS reason codes.
2513d40330Schristos  */
2613d40330Schristos #  define TS_R_BAD_PKCS7_TYPE                              132
2713d40330Schristos #  define TS_R_BAD_TYPE                                    133
2813d40330Schristos #  define TS_R_CANNOT_LOAD_CERT                            137
2913d40330Schristos #  define TS_R_CANNOT_LOAD_KEY                             138
3013d40330Schristos #  define TS_R_CERTIFICATE_VERIFY_ERROR                    100
3113d40330Schristos #  define TS_R_COULD_NOT_SET_ENGINE                        127
3213d40330Schristos #  define TS_R_COULD_NOT_SET_TIME                          115
3313d40330Schristos #  define TS_R_DETACHED_CONTENT                            134
3413d40330Schristos #  define TS_R_ESS_ADD_SIGNING_CERT_ERROR                  116
3513d40330Schristos #  define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR               139
3613d40330Schristos #  define TS_R_ESS_SIGNING_CERTIFICATE_ERROR               101
3713d40330Schristos #  define TS_R_INVALID_NULL_POINTER                        102
3813d40330Schristos #  define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE          117
3913d40330Schristos #  define TS_R_MESSAGE_IMPRINT_MISMATCH                    103
4013d40330Schristos #  define TS_R_NONCE_MISMATCH                              104
4113d40330Schristos #  define TS_R_NONCE_NOT_RETURNED                          105
4213d40330Schristos #  define TS_R_NO_CONTENT                                  106
4313d40330Schristos #  define TS_R_NO_TIME_STAMP_TOKEN                         107
4413d40330Schristos #  define TS_R_PKCS7_ADD_SIGNATURE_ERROR                   118
4513d40330Schristos #  define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR                 119
4613d40330Schristos #  define TS_R_PKCS7_TO_TS_TST_INFO_FAILED                 129
4713d40330Schristos #  define TS_R_POLICY_MISMATCH                             108
4813d40330Schristos #  define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE      120
4913d40330Schristos #  define TS_R_RESPONSE_SETUP_ERROR                        121
5013d40330Schristos #  define TS_R_SIGNATURE_FAILURE                           109
5113d40330Schristos #  define TS_R_THERE_MUST_BE_ONE_SIGNER                    110
5213d40330Schristos #  define TS_R_TIME_SYSCALL_ERROR                          122
5313d40330Schristos #  define TS_R_TOKEN_NOT_PRESENT                           130
5413d40330Schristos #  define TS_R_TOKEN_PRESENT                               131
5513d40330Schristos #  define TS_R_TSA_NAME_MISMATCH                           111
5613d40330Schristos #  define TS_R_TSA_UNTRUSTED                               112
5713d40330Schristos #  define TS_R_TST_INFO_SETUP_ERROR                        123
5813d40330Schristos #  define TS_R_TS_DATASIGN                                 124
5913d40330Schristos #  define TS_R_UNACCEPTABLE_POLICY                         125
6013d40330Schristos #  define TS_R_UNSUPPORTED_MD_ALGORITHM                    126
6113d40330Schristos #  define TS_R_UNSUPPORTED_VERSION                         113
6213d40330Schristos #  define TS_R_VAR_BAD_VALUE                               135
6313d40330Schristos #  define TS_R_VAR_LOOKUP_FAILURE                          136
6413d40330Schristos #  define TS_R_WRONG_CONTENT_TYPE                          114
6513d40330Schristos 
6613d40330Schristos # endif
6713d40330Schristos #endif
68