ocsperr.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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_OCSPERR_H
  11. # define OPENSSL_OCSPERR_H
  12. # pragma once
  13. # include <openssl/macros.h>
  14. # ifndef OPENSSL_NO_DEPRECATED_3_0
  15. # define HEADER_OCSPERR_H
  16. # endif
  17. # include <openssl/opensslconf.h>
  18. # include <openssl/symhacks.h>
  19. # include <openssl/opensslconf.h>
  20. # ifndef OPENSSL_NO_OCSP
  21. # ifdef __cplusplus
  22. extern "C"
  23. # endif
  24. int ERR_load_OCSP_strings(void);
  25. /*
  26. * OCSP function codes.
  27. */
  28. # ifndef OPENSSL_NO_DEPRECATED_3_0
  29. # define OCSP_F_D2I_OCSP_NONCE 0
  30. # define OCSP_F_OCSP_BASIC_ADD1_STATUS 0
  31. # define OCSP_F_OCSP_BASIC_SIGN 0
  32. # define OCSP_F_OCSP_BASIC_SIGN_CTX 0
  33. # define OCSP_F_OCSP_BASIC_VERIFY 0
  34. # define OCSP_F_OCSP_CERT_ID_NEW 0
  35. # define OCSP_F_OCSP_CHECK_DELEGATED 0
  36. # define OCSP_F_OCSP_CHECK_IDS 0
  37. # define OCSP_F_OCSP_CHECK_ISSUER 0
  38. # define OCSP_F_OCSP_CHECK_VALIDITY 0
  39. # define OCSP_F_OCSP_MATCH_ISSUERID 0
  40. # define OCSP_F_OCSP_REQUEST_SIGN 0
  41. # define OCSP_F_OCSP_REQUEST_VERIFY 0
  42. # define OCSP_F_OCSP_RESPONSE_GET1_BASIC 0
  43. # endif
  44. /*
  45. * OCSP reason codes.
  46. */
  47. # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
  48. # define OCSP_R_DIGEST_ERR 102
  49. # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
  50. # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
  51. # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
  52. # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
  53. # define OCSP_R_NOT_BASIC_RESPONSE 104
  54. # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
  55. # define OCSP_R_NO_RESPONSE_DATA 108
  56. # define OCSP_R_NO_REVOKED_TIME 109
  57. # define OCSP_R_NO_SIGNER_KEY 130
  58. # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
  59. # define OCSP_R_REQUEST_NOT_SIGNED 128
  60. # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
  61. # define OCSP_R_ROOT_CA_NOT_TRUSTED 112
  62. # define OCSP_R_SIGNATURE_FAILURE 117
  63. # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
  64. # define OCSP_R_STATUS_EXPIRED 125
  65. # define OCSP_R_STATUS_NOT_YET_VALID 126
  66. # define OCSP_R_STATUS_TOO_OLD 127
  67. # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
  68. # define OCSP_R_UNKNOWN_NID 120
  69. # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
  70. # endif
  71. #endif