PKIFCryptoErrors.h
Go to the documentation of this file.00001
00009 #ifndef __PKIFCRYPTOERRORS_H__
00010 #define __PKIFCRYPTOERRORS_H__
00011
00012 #if _MSC_VER > 1000
00013 #pragma once
00014 #endif // _MSC_VER > 1000
00015
00016 #include "components.h"
00017 #include "PKIFCommonErrors.h"
00019 #define CRYPTO_ALG_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 1
00020
00022 #define CRYPTO_UNRECOGNIZED_CREDENTIAL TOOLKIT_CRYPTO_ERROR_BASE + 2
00023
00025 #define CRYPTO_DEFAULT_KEY_TYPE_UNKNOWN TOOLKIT_CRYPTO_ERROR_BASE + 3
00026
00028 #define CRYPTO_MODE_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 4
00029
00031 #define CRYPTO_MISSING_IV TOOLKIT_CRYPTO_ERROR_BASE + 5
00032
00034 #define CRYPTO_ENCRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 6
00035
00037 #define CRYPTO_DECRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 7
00038
00040 #define CRYPTO_KEY_USAGE_NOT_COMPATIBLE TOOLKIT_CRYPTO_ERROR_BASE + 8
00041
00043 #define CRYPTO_SIGN_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 9
00044
00046 #define CRYPTO_VERIFY_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 10
00047 #endif
00048