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 11 #ifndef OPENSSL_CRMFERR_H 12 # define OPENSSL_CRMFERR_H 13 # pragma once 14 15 # include <openssl/opensslconf.h> 16 # include <openssl/symhacks.h> 17 # include <openssl/cryptoerr_legacy.h> 18 19 20 # ifndef OPENSSL_NO_CRMF 21 22 23 /* 24 * CRMF reason codes. 25 */ 26 # define CRMF_R_BAD_PBM_ITERATIONCOUNT 100 27 # define CRMF_R_CMS_NOT_SUPPORTED 122 28 # define CRMF_R_CRMFERROR 102 29 # define CRMF_R_ERROR 103 30 # define CRMF_R_ERROR_DECODING_CERTIFICATE 104 31 # define CRMF_R_ERROR_DECODING_ENCRYPTEDKEY 123 32 # define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105 33 # define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDKEY 124 34 # define CRMF_R_ERROR_DECRYPTING_ENCRYPTEDVALUE 125 35 # define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106 36 # define CRMF_R_ERROR_SETTING_PURPOSE 126 37 # define CRMF_R_ERROR_VERIFYING_ENCRYPTEDKEY 127 38 # define CRMF_R_FAILURE_OBTAINING_RANDOM 107 39 # define CRMF_R_ITERATIONCOUNT_BELOW_100 108 40 # define CRMF_R_MALFORMED_IV 101 41 # define CRMF_R_NULL_ARGUMENT 109 42 # define CRMF_R_POPOSKINPUT_NOT_SUPPORTED 113 43 # define CRMF_R_POPO_INCONSISTENT_CENTRAL_KEYGEN 128 44 # define CRMF_R_POPO_INCONSISTENT_PUBLIC_KEY 117 45 # define CRMF_R_POPO_MISSING 121 46 # define CRMF_R_POPO_MISSING_PUBLIC_KEY 118 47 # define CRMF_R_POPO_MISSING_SUBJECT 119 48 # define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120 49 # define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110 50 # define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111 51 # define CRMF_R_UNSUPPORTED_ALGORITHM 112 52 # define CRMF_R_UNSUPPORTED_CIPHER 114 53 # define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115 54 # define CRMF_R_UNSUPPORTED_POPO_METHOD 116 55 56 # endif 57 #endif 58