You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

tserr.h 2.1 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2021 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. #ifndef OPENSSL_TSERR_H
  11. #define OPENSSL_TSERR_H
  12. #pragma once
  13. #include <openssl/opensslconf.h>
  14. #include <openssl/symhacks.h>
  15. #include <openssl/cryptoerr_legacy.h>
  16. #ifndef OPENSSL_NO_TS
  17. /*
  18. * TS reason codes.
  19. */
  20. #define TS_R_BAD_PKCS7_TYPE 132
  21. #define TS_R_BAD_TYPE 133
  22. #define TS_R_CANNOT_LOAD_CERT 137
  23. #define TS_R_CANNOT_LOAD_KEY 138
  24. #define TS_R_CERTIFICATE_VERIFY_ERROR 100
  25. #define TS_R_COULD_NOT_SET_ENGINE 127
  26. #define TS_R_COULD_NOT_SET_TIME 115
  27. #define TS_R_DETACHED_CONTENT 134
  28. #define TS_R_ESS_ADD_SIGNING_CERT_ERROR 116
  29. #define TS_R_ESS_ADD_SIGNING_CERT_V2_ERROR 139
  30. #define TS_R_ESS_SIGNING_CERTIFICATE_ERROR 101
  31. #define TS_R_INVALID_NULL_POINTER 102
  32. #define TS_R_INVALID_SIGNER_CERTIFICATE_PURPOSE 117
  33. #define TS_R_MESSAGE_IMPRINT_MISMATCH 103
  34. #define TS_R_NONCE_MISMATCH 104
  35. #define TS_R_NONCE_NOT_RETURNED 105
  36. #define TS_R_NO_CONTENT 106
  37. #define TS_R_NO_TIME_STAMP_TOKEN 107
  38. #define TS_R_PKCS7_ADD_SIGNATURE_ERROR 118
  39. #define TS_R_PKCS7_ADD_SIGNED_ATTR_ERROR 119
  40. #define TS_R_PKCS7_TO_TS_TST_INFO_FAILED 129
  41. #define TS_R_POLICY_MISMATCH 108
  42. #define TS_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 120
  43. #define TS_R_RESPONSE_SETUP_ERROR 121
  44. #define TS_R_SIGNATURE_FAILURE 109
  45. #define TS_R_THERE_MUST_BE_ONE_SIGNER 110
  46. #define TS_R_TIME_SYSCALL_ERROR 122
  47. #define TS_R_TOKEN_NOT_PRESENT 130
  48. #define TS_R_TOKEN_PRESENT 131
  49. #define TS_R_TSA_NAME_MISMATCH 111
  50. #define TS_R_TSA_UNTRUSTED 112
  51. #define TS_R_TST_INFO_SETUP_ERROR 123
  52. #define TS_R_TS_DATASIGN 124
  53. #define TS_R_UNACCEPTABLE_POLICY 125
  54. #define TS_R_UNSUPPORTED_MD_ALGORITHM 126
  55. #define TS_R_UNSUPPORTED_VERSION 113
  56. #define TS_R_VAR_BAD_VALUE 135
  57. #define TS_R_VAR_LOOKUP_FAILURE 136
  58. #define TS_R_WRONG_CONTENT_TYPE 114
  59. #endif
  60. #endif