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 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_CRMFERROR 102 28 # define CRMF_R_ERROR 103 29 # define CRMF_R_ERROR_DECODING_CERTIFICATE 104 30 # define CRMF_R_ERROR_DECRYPTING_CERTIFICATE 105 31 # define CRMF_R_ERROR_DECRYPTING_SYMMETRIC_KEY 106 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_PUBLIC_KEY 117 38 # define CRMF_R_POPO_MISSING 121 39 # define CRMF_R_POPO_MISSING_PUBLIC_KEY 118 40 # define CRMF_R_POPO_MISSING_SUBJECT 119 41 # define CRMF_R_POPO_RAVERIFIED_NOT_ACCEPTED 120 42 # define CRMF_R_SETTING_MAC_ALGOR_FAILURE 110 43 # define CRMF_R_SETTING_OWF_ALGOR_FAILURE 111 44 # define CRMF_R_UNSUPPORTED_ALGORITHM 112 45 # define CRMF_R_UNSUPPORTED_CIPHER 114 46 # define CRMF_R_UNSUPPORTED_METHOD_FOR_CREATING_POPO 115 47 # define CRMF_R_UNSUPPORTED_POPO_METHOD 116 48 49 # endif 50 #endif 51