Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

cterr.h 3.4 KiB

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