Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-24 09:18:03

0001 /*
0002  * Generated by util/mkerr.pl DO NOT EDIT
0003  * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
0004  *
0005  * Licensed under the Apache License 2.0 (the "License").  You may not use
0006  * this file except in compliance with the License.  You can obtain a copy
0007  * in the file LICENSE in the source distribution or at
0008  * https://www.openssl.org/source/license.html
0009  */
0010 
0011 #ifndef OPENSSL_PKCS7ERR_H
0012 #define OPENSSL_PKCS7ERR_H
0013 #pragma once
0014 
0015 #include <openssl/opensslconf.h>
0016 #include <openssl/symhacks.h>
0017 #include <openssl/cryptoerr_legacy.h>
0018 
0019 /*
0020  * PKCS7 reason codes.
0021  */
0022 #define PKCS7_R_CERTIFICATE_VERIFY_ERROR 117
0023 #define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 144
0024 #define PKCS7_R_CIPHER_NOT_INITIALIZED 116
0025 #define PKCS7_R_CONTENT_AND_DATA_PRESENT 118
0026 #define PKCS7_R_CTRL_ERROR 152
0027 #define PKCS7_R_DECRYPT_ERROR 119
0028 #define PKCS7_R_DIGEST_FAILURE 101
0029 #define PKCS7_R_ENCRYPTION_CTRL_FAILURE 149
0030 #define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 150
0031 #define PKCS7_R_ERROR_ADDING_RECIPIENT 120
0032 #define PKCS7_R_ERROR_SETTING_CIPHER 121
0033 #define PKCS7_R_INVALID_NULL_POINTER 143
0034 #define PKCS7_R_INVALID_SIGNED_DATA_TYPE 155
0035 #define PKCS7_R_NO_CONTENT 122
0036 #define PKCS7_R_NO_DEFAULT_DIGEST 151
0037 #define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 154
0038 #define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 115
0039 #define PKCS7_R_NO_SIGNATURES_ON_DATA 123
0040 #define PKCS7_R_NO_SIGNERS 142
0041 #define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 104
0042 #define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 124
0043 #define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 153
0044 #define PKCS7_R_PKCS7_DATASIGN 145
0045 #define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 127
0046 #define PKCS7_R_SIGNATURE_FAILURE 105
0047 #define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 128
0048 #define PKCS7_R_SIGNING_CTRL_FAILURE 147
0049 #define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 148
0050 #define PKCS7_R_SMIME_TEXT_ERROR 129
0051 #define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 106
0052 #define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 107
0053 #define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 108
0054 #define PKCS7_R_UNKNOWN_DIGEST_TYPE 109
0055 #define PKCS7_R_UNKNOWN_OPERATION 110
0056 #define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 111
0057 #define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 112
0058 #define PKCS7_R_WRONG_CONTENT_TYPE 113
0059 #define PKCS7_R_WRONG_PKCS7_TYPE 114
0060 
0061 #endif