Module: Miscellaneous
Definition in file PKIFCryptoErrors.h.
#include "components.h"
#include "PKIFCommonErrors.h"
Go to the source code of this file.
Defines | |
#define | CRYPTO_ALG_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 1 |
An unsupported algorithm was encountered. | |
#define | CRYPTO_UNRECOGNIZED_CREDENTIAL TOOLKIT_CRYPTO_ERROR_BASE + 2 |
An unrecognized credential was presented with a request to perform a cryptographic operation. | |
#define | CRYPTO_DEFAULT_KEY_TYPE_UNKNOWN TOOLKIT_CRYPTO_ERROR_BASE + 3 |
An unrecognized default key type was encountered. | |
#define | CRYPTO_MODE_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 4 |
An unsupported mode of operations was requested for a cryptographic operation. | |
#define | CRYPTO_MISSING_IV TOOLKIT_CRYPTO_ERROR_BASE + 5 |
A required initialization vector was missing. | |
#define | CRYPTO_ENCRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 6 |
An encryption operation failed. | |
#define | CRYPTO_DECRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 7 |
A decryption operation failed. | |
#define | CRYPTO_KEY_USAGE_NOT_COMPATIBLE TOOLKIT_CRYPTO_ERROR_BASE + 8 |
Not used. | |
#define | CRYPTO_SIGN_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 9 |
A signature generation operation failed. | |
#define | CRYPTO_VERIFY_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 10 |
A signature verification operation failed. |
#define CRYPTO_ALG_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 1 |
An unsupported algorithm was encountered.
Definition at line 19 of file PKIFCryptoErrors.h.
Referenced by _CNGVerify(), CPKIFCAPIRaw::CryptInit(), GetCNGHashAlg(), GetCNGSymAlgorithm(), GetErrorCodeString(), GetHashAlg(), GetProvType(), GetSymAlgorithm(), CPKIFNSSRaw::HashInit(), CPKIFCryptoPPRaw::HashInit(), CPKIFCNGCAPIRaw::HashInit(), CPKIFCAPIRaw::HashInit(), CPKIFNSSRaw::HMACInit(), CPKIFCryptoPPRaw::HMACInit(), CPKIFCNGCAPIRaw::HMACInit(), CPKIFCryptoPP::SecretAgree(), CPKIFCNGCAPI::Sign(), CPKIFNSSRaw::SupportsAlgorithm(), CPKIFCryptoPPRaw::SupportsAlgorithm(), CPKIFCNGCAPIRaw::SupportsAlgorithm(), CPKIFCAPIRaw::SupportsAlgorithm(), UnwrapSymmKey(), and WrapSymmKey().
#define CRYPTO_DECRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 7 |
A decryption operation failed.
Definition at line 37 of file PKIFCryptoErrors.h.
Referenced by CPKIFNSS::Decrypt(), CPKIFCryptoMediator2::Decrypt(), and GetErrorCodeString().
#define CRYPTO_DEFAULT_KEY_TYPE_UNKNOWN TOOLKIT_CRYPTO_ERROR_BASE + 3 |
An unrecognized default key type was encountered.
Definition at line 25 of file PKIFCryptoErrors.h.
Referenced by GetErrorCodeString().
#define CRYPTO_ENCRYPT_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 6 |
An encryption operation failed.
Definition at line 34 of file PKIFCryptoErrors.h.
Referenced by GetErrorCodeString().
#define CRYPTO_KEY_USAGE_NOT_COMPATIBLE TOOLKIT_CRYPTO_ERROR_BASE + 8 |
#define CRYPTO_MISSING_IV TOOLKIT_CRYPTO_ERROR_BASE + 5 |
A required initialization vector was missing.
Definition at line 31 of file PKIFCryptoErrors.h.
Referenced by CPKIFNSSRaw::CryptInit(), CPKIFCryptoPPRaw::CryptInit(), CPKIFCNGCAPIRaw::CryptInit(), CPKIFCAPIRaw::CryptInit(), and GetErrorCodeString().
#define CRYPTO_MODE_NOT_SUPPORTED TOOLKIT_CRYPTO_ERROR_BASE + 4 |
An unsupported mode of operations was requested for a cryptographic operation.
Definition at line 28 of file PKIFCryptoErrors.h.
Referenced by CPKIFCNGCAPIRaw::CryptInit(), CPKIFCAPIRaw::CryptInit(), and GetErrorCodeString().
#define CRYPTO_SIGN_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 9 |
A signature generation operation failed.
Definition at line 43 of file PKIFCryptoErrors.h.
Referenced by GetErrorCodeString(), CPKIFNSS::Sign(), and CPKIFCryptoMediator2::Sign().
#define CRYPTO_UNRECOGNIZED_CREDENTIAL TOOLKIT_CRYPTO_ERROR_BASE + 2 |
An unrecognized credential was presented with a request to perform a cryptographic operation.
Definition at line 22 of file PKIFCryptoErrors.h.
Referenced by CPKIFCAPI2::CryptInit(), CPKIFNSS::Decrypt(), CPKIFCryptoPP::Decrypt(), CPKIFCNGCAPI::Decrypt(), CPKIFCAPI2::Decrypt(), GetErrorCodeString(), CPKIFCryptoPP::SecretAgree(), CPKIFNSS::Sign(), CPKIFCryptoPP::Sign(), CPKIFCNGCAPI::Sign(), and CPKIFCAPI2::Sign().
#define CRYPTO_VERIFY_FAILED TOOLKIT_CRYPTO_ERROR_BASE + 10 |
A signature verification operation failed.
Definition at line 46 of file PKIFCryptoErrors.h.
Referenced by GetErrorCodeString(), and CPKIFCryptoMediator2::Verify().