]> git.ipfire.org Git - thirdparty/openssl.git/blame - include/openssl/pkcs7err.h
fix crash in ecp_nistz256_point_add_affine()
[thirdparty/openssl.git] / include / openssl / pkcs7err.h
CommitLineData
52df25cf
RS
1/*
2 * Generated by util/mkerr.pl DO NOT EDIT
a28d06f3 3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.
52df25cf 4 *
48f4ad77 5 * Licensed under the Apache License 2.0 (the "License"). You may not use
52df25cf
RS
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
ae4186b0
DMSP
11#ifndef OPENSSL_PKCS7ERR_H
12# define OPENSSL_PKCS7ERR_H
d86167ec
DMSP
13# pragma once
14
cbfa5b03
RS
15# include <openssl/opensslconf.h>
16# include <openssl/symhacks.h>
14a6c6a4 17# include <openssl/cryptoerr_legacy.h>
cbfa5b03 18
2a6a5607 19
52df25cf 20
52df25cf
RS
21/*
22 * PKCS7 reason codes.
23 */
24# define PKCS7_R_CERTIFICATE_VERIFY_ERROR 117
25# define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 144
26# define PKCS7_R_CIPHER_NOT_INITIALIZED 116
27# define PKCS7_R_CONTENT_AND_DATA_PRESENT 118
28# define PKCS7_R_CTRL_ERROR 152
29# define PKCS7_R_DECRYPT_ERROR 119
30# define PKCS7_R_DIGEST_FAILURE 101
31# define PKCS7_R_ENCRYPTION_CTRL_FAILURE 149
32# define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 150
33# define PKCS7_R_ERROR_ADDING_RECIPIENT 120
34# define PKCS7_R_ERROR_SETTING_CIPHER 121
35# define PKCS7_R_INVALID_NULL_POINTER 143
36# define PKCS7_R_INVALID_SIGNED_DATA_TYPE 155
37# define PKCS7_R_NO_CONTENT 122
38# define PKCS7_R_NO_DEFAULT_DIGEST 151
39# define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 154
40# define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 115
41# define PKCS7_R_NO_SIGNATURES_ON_DATA 123
42# define PKCS7_R_NO_SIGNERS 142
43# define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 104
44# define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 124
45# define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 153
46# define PKCS7_R_PKCS7_DATASIGN 145
47# define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 127
48# define PKCS7_R_SIGNATURE_FAILURE 105
49# define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 128
50# define PKCS7_R_SIGNING_CTRL_FAILURE 147
51# define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 148
52# define PKCS7_R_SMIME_TEXT_ERROR 129
53# define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 106
54# define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 107
55# define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 108
56# define PKCS7_R_UNKNOWN_DIGEST_TYPE 109
57# define PKCS7_R_UNKNOWN_OPERATION 110
58# define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 111
59# define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 112
60# define PKCS7_R_WRONG_CONTENT_TYPE 113
61# define PKCS7_R_WRONG_PKCS7_TYPE 114
62
63#endif