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.

ocsperr.h 1.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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_OCSPERR_H
  11. #define OPENSSL_OCSPERR_H
  12. #pragma once
  13. #include <openssl/opensslconf.h>
  14. #include <openssl/symhacks.h>
  15. #include <openssl/cryptoerr_legacy.h>
  16. #ifndef OPENSSL_NO_OCSP
  17. /*
  18. * OCSP reason codes.
  19. */
  20. #define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
  21. #define OCSP_R_DIGEST_ERR 102
  22. #define OCSP_R_DIGEST_NAME_ERR 106
  23. #define OCSP_R_DIGEST_SIZE_ERR 107
  24. #define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
  25. #define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
  26. #define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
  27. #define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
  28. #define OCSP_R_NOT_BASIC_RESPONSE 104
  29. #define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
  30. #define OCSP_R_NO_RESPONSE_DATA 108
  31. #define OCSP_R_NO_REVOKED_TIME 109
  32. #define OCSP_R_NO_SIGNER_KEY 130
  33. #define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
  34. #define OCSP_R_REQUEST_NOT_SIGNED 128
  35. #define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
  36. #define OCSP_R_ROOT_CA_NOT_TRUSTED 112
  37. #define OCSP_R_SIGNATURE_FAILURE 117
  38. #define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
  39. #define OCSP_R_STATUS_EXPIRED 125
  40. #define OCSP_R_STATUS_NOT_YET_VALID 126
  41. #define OCSP_R_STATUS_TOO_OLD 127
  42. #define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
  43. #define OCSP_R_UNKNOWN_NID 120
  44. #define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
  45. #endif
  46. #endif