crmferr.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. /*
  2. * Generated by util/mkerr.pl DO NOT EDIT
  3. * Copyright 1995-2025 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_CMS_NOT_SUPPORTED 122
  22. #define CRMF_R_CRMFERROR 102
  23. #define CRMF_R_ERROR 103
  24. #define CRMF_R_ERROR_DECODING_CERTIFICATE 104
  25. #define CRMF_R_ERROR_DECODING_ENCRYPTEDKEY 123
  26. #define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105
  27. #define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDKEY 124
  28. #define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDVALUE 125
  29. #define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106
  30. #define CRMF_R_ERROR_SETTING_PURPOSE 126
  31. #define CRMF_R_ERROR_VERIFYING_ENCRYPTEDKEY 127
  32. #define CRMF_R_FAILURE_OBTAINING_RANDOM 107
  33. #define CRMF_R_ITERATIONCOUNT_BELOW_100 108
  34. #define CRMF_R_MALFORMED_IV 101
  35. #define CRMF_R_NULL_ARGUMENT 109
  36. #define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113
  37. #define CRMF_R_POPO_INCONSISTENT_CENTRAL_KEYGEN 128
  38. #define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117
  39. #define CRMF_R_POPO_MISSING 121
  40. #define CRMF_R_POPO_MISSING_PUBLIC_KEY 118
  41. #define CRMF_R_POPO_MISSING_SUBJECT 119
  42. #define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120
  43. #define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110
  44. #define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111
  45. #define CRMF_R_UNSUPPORTED_ALGORITHM 112
  46. #define CRMF_R_UNSUPPORTED_CIPHER 114
  47. #define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115
  48. #define CRMF_R_UNSUPPORTED_POPO_METHOD 116
  49. #endif
  50. #endif