ocsperr.h 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2018 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 HEADER_OCSPERR_H
  11. # define HEADER_OCSPERR_H
  12. # include <openssl/opensslconf.h>
  13. # ifndef OPENSSL_NO_OCSP
  14. # ifdef __cplusplus
  15. extern "C"
  16. # endif
  17. int ERR_load_OCSP_strings(void);
  18. /*
  19. * OCSP function codes.
  20. */
  21. # define OCSP_F_D2I_OCSP_NONCE 102
  22. # define OCSP_F_OCSP_BASIC_ADD1_STATUS 103
  23. # define OCSP_F_OCSP_BASIC_SIGN 104
  24. # define OCSP_F_OCSP_BASIC_SIGN_CTX 119
  25. # define OCSP_F_OCSP_BASIC_VERIFY 105
  26. # define OCSP_F_OCSP_CERT_ID_NEW 101
  27. # define OCSP_F_OCSP_CHECK_DELEGATED 106
  28. # define OCSP_F_OCSP_CHECK_IDS 107
  29. # define OCSP_F_OCSP_CHECK_ISSUER 108
  30. # define OCSP_F_OCSP_CHECK_VALIDITY 115
  31. # define OCSP_F_OCSP_MATCH_ISSUERID 109
  32. # define OCSP_F_OCSP_PARSE_URL 114
  33. # define OCSP_F_OCSP_REQUEST_SIGN 110
  34. # define OCSP_F_OCSP_REQUEST_VERIFY 116
  35. # define OCSP_F_OCSP_RESPONSE_GET1_BASIC 111
  36. # define OCSP_F_PARSE_HTTP_LINE1 118
  37. /*
  38. * OCSP reason codes.
  39. */
  40. # define OCSP_R_CERTIFICATE_VERIFY_ERROR 101
  41. # define OCSP_R_DIGEST_ERR 102
  42. # define OCSP_R_ERROR_IN_NEXTUPDATE_FIELD 122
  43. # define OCSP_R_ERROR_IN_THISUPDATE_FIELD 123
  44. # define OCSP_R_ERROR_PARSING_URL 121
  45. # define OCSP_R_MISSING_OCSPSIGNING_USAGE 103
  46. # define OCSP_R_NEXTUPDATE_BEFORE_THISUPDATE 124
  47. # define OCSP_R_NOT_BASIC_RESPONSE 104
  48. # define OCSP_R_NO_CERTIFICATES_IN_CHAIN 105
  49. # define OCSP_R_NO_RESPONSE_DATA 108
  50. # define OCSP_R_NO_REVOKED_TIME 109
  51. # define OCSP_R_NO_SIGNER_KEY 130
  52. # define OCSP_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 110
  53. # define OCSP_R_REQUEST_NOT_SIGNED 128
  54. # define OCSP_R_RESPONSE_CONTAINS_NO_REVOCATION_DATA 111
  55. # define OCSP_R_ROOT_CA_NOT_TRUSTED 112
  56. # define OCSP_R_SERVER_RESPONSE_ERROR 114
  57. # define OCSP_R_SERVER_RESPONSE_PARSE_ERROR 115
  58. # define OCSP_R_SIGNATURE_FAILURE 117
  59. # define OCSP_R_SIGNER_CERTIFICATE_NOT_FOUND 118
  60. # define OCSP_R_STATUS_EXPIRED 125
  61. # define OCSP_R_STATUS_NOT_YET_VALID 126
  62. # define OCSP_R_STATUS_TOO_OLD 127
  63. # define OCSP_R_UNKNOWN_MESSAGE_DIGEST 119
  64. # define OCSP_R_UNKNOWN_NID 120
  65. # define OCSP_R_UNSUPPORTED_REQUESTORNAME_TYPE 129
  66. # endif
  67. #endif