crmferr.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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_CRMFERR_H
  11. # define OPENSSL_CRMFERR_H
  12. # pragma once
  13. # include <openssl/opensslconf.h>
  14. # include <openssl/symhacks.h>
  15. # include <openssl/cryptoerr_legacy.h>
  16. # ifndef OPENSSL_NO_CRMF
  17. /*
  18. * CRMF reason codes.
  19. */
  20. # define CRMF_R_BAD_PBM_ITERATIONCOUNT 100
  21. # define CRMF_R_CRMFERROR 102
  22. # define CRMF_R_ERROR 103
  23. # define CRMF_R_ERROR_DECODING_CERTIFICATE 104
  24. # define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105
  25. # define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106
  26. # define CRMF_R_FAILURE_OBTAINING_RANDOM 107
  27. # define CRMF_R_ITERATIONCOUNT_BELOW_100 108
  28. # define CRMF_R_MALFORMED_IV 101
  29. # define CRMF_R_NULL_ARGUMENT 109
  30. # define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113
  31. # define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117
  32. # define CRMF_R_POPO_MISSING 121
  33. # define CRMF_R_POPO_MISSING_PUBLIC_KEY 118
  34. # define CRMF_R_POPO_MISSING_SUBJECT 119
  35. # define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120
  36. # define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110
  37. # define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111
  38. # define CRMF_R_UNSUPPORTED_ALGORITHM 112
  39. # define CRMF_R_UNSUPPORTED_CIPHER 114
  40. # define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115
  41. # define CRMF_R_UNSUPPORTED_POPO_METHOD 116
  42. # endif
  43. #endif