cterr.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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. #ifndef OPENSSL_CTERR_H
  11. # define OPENSSL_CTERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # if !OPENSSL_API_3
  15. # define HEADER_CTERR_H
  16. # endif
  17. # include <openssl/opensslconf.h>
  18. # include <openssl/symhacks.h>
  19. # include <openssl/opensslconf.h>
  20. # ifndef OPENSSL_NO_CT
  21. # ifdef __cplusplus
  22. extern "C"
  23. # endif
  24. int ERR_load_CT_strings(void);
  25. /*
  26. * CT function codes.
  27. */
  28. # if !OPENSSL_API_3
  29. # define CT_F_CTLOG_NEW 0
  30. # define CT_F_CTLOG_NEW_FROM_BASE64 0
  31. # define CT_F_CTLOG_NEW_FROM_CONF 0
  32. # define CT_F_CTLOG_STORE_LOAD_CTX_NEW 0
  33. # define CT_F_CTLOG_STORE_LOAD_FILE 0
  34. # define CT_F_CTLOG_STORE_LOAD_LOG 0
  35. # define CT_F_CTLOG_STORE_NEW 0
  36. # define CT_F_CT_BASE64_DECODE 0
  37. # define CT_F_CT_POLICY_EVAL_CTX_NEW 0
  38. # define CT_F_CT_V1_LOG_ID_FROM_PKEY 0
  39. # define CT_F_I2O_SCT 0
  40. # define CT_F_I2O_SCT_LIST 0
  41. # define CT_F_I2O_SCT_SIGNATURE 0
  42. # define CT_F_O2I_SCT 0
  43. # define CT_F_O2I_SCT_LIST 0
  44. # define CT_F_O2I_SCT_SIGNATURE 0
  45. # define CT_F_SCT_CTX_NEW 0
  46. # define CT_F_SCT_CTX_VERIFY 0
  47. # define CT_F_SCT_NEW 0
  48. # define CT_F_SCT_NEW_FROM_BASE64 0
  49. # define CT_F_SCT_SET0_LOG_ID 0
  50. # define CT_F_SCT_SET1_EXTENSIONS 0
  51. # define CT_F_SCT_SET1_LOG_ID 0
  52. # define CT_F_SCT_SET1_SIGNATURE 0
  53. # define CT_F_SCT_SET_LOG_ENTRY_TYPE 0
  54. # define CT_F_SCT_SET_SIGNATURE_NID 0
  55. # define CT_F_SCT_SET_VERSION 0
  56. # endif
  57. /*
  58. * CT reason codes.
  59. */
  60. # define CT_R_BASE64_DECODE_ERROR 108
  61. # define CT_R_INVALID_LOG_ID_LENGTH 100
  62. # define CT_R_LOG_CONF_INVALID 109
  63. # define CT_R_LOG_CONF_INVALID_KEY 110
  64. # define CT_R_LOG_CONF_MISSING_DESCRIPTION 111
  65. # define CT_R_LOG_CONF_MISSING_KEY 112
  66. # define CT_R_LOG_KEY_INVALID 113
  67. # define CT_R_SCT_FUTURE_TIMESTAMP 116
  68. # define CT_R_SCT_INVALID 104
  69. # define CT_R_SCT_INVALID_SIGNATURE 107
  70. # define CT_R_SCT_LIST_INVALID 105
  71. # define CT_R_SCT_LOG_ID_MISMATCH 114
  72. # define CT_R_SCT_NOT_SET 106
  73. # define CT_R_SCT_UNSUPPORTED_VERSION 115
  74. # define CT_R_UNRECOGNIZED_SIGNATURE_NID 101
  75. # define CT_R_UNSUPPORTED_ENTRY_TYPE 102
  76. # define CT_R_UNSUPPORTED_VERSION 103
  77. # endif
  78. #endif