codekingpro/portable-devtools
115k
1/*2 * Generated by util/mkerr.pl DO NOT EDIT3 * Copyright 1995-2021 The OpenSSL Project Authors. All Rights Reserved.4 *5 * Licensed under the Apache License 2.0 (the "License"). You may not use6 * this file except in compliance with the License. You can obtain a copy7 * in the file LICENSE in the source distribution or at8 * https://www.openssl.org/source/license.html9 */10 11#ifndef OPENSSL_PKCS7ERR_H12# define OPENSSL_PKCS7ERR_H13# pragma once14 15# include <openssl/opensslconf.h>16# include <openssl/symhacks.h>17# include <openssl/cryptoerr_legacy.h>18 19 20 21/*22 * PKCS7 reason codes.23 */24# define PKCS7_R_CERTIFICATE_VERIFY_ERROR 11725# define PKCS7_R_CIPHER_HAS_NO_OBJECT_IDENTIFIER 14426# define PKCS7_R_CIPHER_NOT_INITIALIZED 11627# define PKCS7_R_CONTENT_AND_DATA_PRESENT 11828# define PKCS7_R_CTRL_ERROR 15229# define PKCS7_R_DECRYPT_ERROR 11930# define PKCS7_R_DIGEST_FAILURE 10131# define PKCS7_R_ENCRYPTION_CTRL_FAILURE 14932# define PKCS7_R_ENCRYPTION_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 15033# define PKCS7_R_ERROR_ADDING_RECIPIENT 12034# define PKCS7_R_ERROR_SETTING_CIPHER 12135# define PKCS7_R_INVALID_NULL_POINTER 14336# define PKCS7_R_INVALID_SIGNED_DATA_TYPE 15537# define PKCS7_R_NO_CONTENT 12238# define PKCS7_R_NO_DEFAULT_DIGEST 15139# define PKCS7_R_NO_MATCHING_DIGEST_TYPE_FOUND 15440# define PKCS7_R_NO_RECIPIENT_MATCHES_CERTIFICATE 11541# define PKCS7_R_NO_SIGNATURES_ON_DATA 12342# define PKCS7_R_NO_SIGNERS 14243# define PKCS7_R_OPERATION_NOT_SUPPORTED_ON_THIS_TYPE 10444# define PKCS7_R_PKCS7_ADD_SIGNATURE_ERROR 12445# define PKCS7_R_PKCS7_ADD_SIGNER_ERROR 15346# define PKCS7_R_PKCS7_DATASIGN 14547# define PKCS7_R_PRIVATE_KEY_DOES_NOT_MATCH_CERTIFICATE 12748# define PKCS7_R_SIGNATURE_FAILURE 10549# define PKCS7_R_SIGNER_CERTIFICATE_NOT_FOUND 12850# define PKCS7_R_SIGNING_CTRL_FAILURE 14751# define PKCS7_R_SIGNING_NOT_SUPPORTED_FOR_THIS_KEY_TYPE 14852# define PKCS7_R_SMIME_TEXT_ERROR 12953# define PKCS7_R_UNABLE_TO_FIND_CERTIFICATE 10654# define PKCS7_R_UNABLE_TO_FIND_MEM_BIO 10755# define PKCS7_R_UNABLE_TO_FIND_MESSAGE_DIGEST 10856# define PKCS7_R_UNKNOWN_DIGEST_TYPE 10957# define PKCS7_R_UNKNOWN_OPERATION 11058# define PKCS7_R_UNSUPPORTED_CIPHER_TYPE 11159# define PKCS7_R_UNSUPPORTED_CONTENT_TYPE 11260# define PKCS7_R_WRONG_CONTENT_TYPE 11361# define PKCS7_R_WRONG_PKCS7_TYPE 11462 63#endif64 