storeerr.h 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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_OSSL_STOREERR_H
  11. # define HEADER_OSSL_STOREERR_H
  12. # ifndef HEADER_SYMHACKS_H
  13. # include <openssl/symhacks.h>
  14. # endif
  15. # ifdef __cplusplus
  16. extern "C"
  17. # endif
  18. int ERR_load_OSSL_STORE_strings(void);
  19. /*
  20. * OSSL_STORE function codes.
  21. */
  22. # define OSSL_STORE_F_FILE_CTRL 129
  23. # define OSSL_STORE_F_FILE_FIND 138
  24. # define OSSL_STORE_F_FILE_GET_PASS 118
  25. # define OSSL_STORE_F_FILE_LOAD 119
  26. # define OSSL_STORE_F_FILE_LOAD_TRY_DECODE 124
  27. # define OSSL_STORE_F_FILE_NAME_TO_URI 126
  28. # define OSSL_STORE_F_FILE_OPEN 120
  29. # define OSSL_STORE_F_OSSL_STORE_ATTACH_PEM_BIO 127
  30. # define OSSL_STORE_F_OSSL_STORE_EXPECT 130
  31. # define OSSL_STORE_F_OSSL_STORE_FILE_ATTACH_PEM_BIO_INT 128
  32. # define OSSL_STORE_F_OSSL_STORE_FIND 131
  33. # define OSSL_STORE_F_OSSL_STORE_GET0_LOADER_INT 100
  34. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CERT 101
  35. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_CRL 102
  36. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME 103
  37. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_NAME_DESCRIPTION 135
  38. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PARAMS 104
  39. # define OSSL_STORE_F_OSSL_STORE_INFO_GET1_PKEY 105
  40. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CERT 106
  41. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_CRL 107
  42. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_EMBEDDED 123
  43. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_NAME 109
  44. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PARAMS 110
  45. # define OSSL_STORE_F_OSSL_STORE_INFO_NEW_PKEY 111
  46. # define OSSL_STORE_F_OSSL_STORE_INFO_SET0_NAME_DESCRIPTION 134
  47. # define OSSL_STORE_F_OSSL_STORE_INIT_ONCE 112
  48. # define OSSL_STORE_F_OSSL_STORE_LOADER_NEW 113
  49. # define OSSL_STORE_F_OSSL_STORE_OPEN 114
  50. # define OSSL_STORE_F_OSSL_STORE_OPEN_INT 115
  51. # define OSSL_STORE_F_OSSL_STORE_REGISTER_LOADER_INT 117
  52. # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ALIAS 132
  53. # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_ISSUER_SERIAL 133
  54. # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_KEY_FINGERPRINT 136
  55. # define OSSL_STORE_F_OSSL_STORE_SEARCH_BY_NAME 137
  56. # define OSSL_STORE_F_OSSL_STORE_UNREGISTER_LOADER_INT 116
  57. # define OSSL_STORE_F_TRY_DECODE_PARAMS 121
  58. # define OSSL_STORE_F_TRY_DECODE_PKCS12 122
  59. # define OSSL_STORE_F_TRY_DECODE_PKCS8ENCRYPTED 125
  60. /*
  61. * OSSL_STORE reason codes.
  62. */
  63. # define OSSL_STORE_R_AMBIGUOUS_CONTENT_TYPE 107
  64. # define OSSL_STORE_R_BAD_PASSWORD_READ 115
  65. # define OSSL_STORE_R_ERROR_VERIFYING_PKCS12_MAC 113
  66. # define OSSL_STORE_R_FINGERPRINT_SIZE_DOES_NOT_MATCH_DIGEST 121
  67. # define OSSL_STORE_R_INVALID_SCHEME 106
  68. # define OSSL_STORE_R_IS_NOT_A 112
  69. # define OSSL_STORE_R_LOADER_INCOMPLETE 116
  70. # define OSSL_STORE_R_LOADING_STARTED 117
  71. # define OSSL_STORE_R_NOT_A_CERTIFICATE 100
  72. # define OSSL_STORE_R_NOT_A_CRL 101
  73. # define OSSL_STORE_R_NOT_A_KEY 102
  74. # define OSSL_STORE_R_NOT_A_NAME 103
  75. # define OSSL_STORE_R_NOT_PARAMETERS 104
  76. # define OSSL_STORE_R_PASSPHRASE_CALLBACK_ERROR 114
  77. # define OSSL_STORE_R_PATH_MUST_BE_ABSOLUTE 108
  78. # define OSSL_STORE_R_SEARCH_ONLY_SUPPORTED_FOR_DIRECTORIES 119
  79. # define OSSL_STORE_R_UI_PROCESS_INTERRUPTED_OR_CANCELLED 109
  80. # define OSSL_STORE_R_UNREGISTERED_SCHEME 105
  81. # define OSSL_STORE_R_UNSUPPORTED_CONTENT_TYPE 110
  82. # define OSSL_STORE_R_UNSUPPORTED_OPERATION 118
  83. # define OSSL_STORE_R_UNSUPPORTED_SEARCH_TYPE 120
  84. # define OSSL_STORE_R_URI_AUTHORITY_UNSUPPORTED 111
  85. #endif