PKIFCryptoErrors.h File Reference


Detailed Description

Subsystem: Cryptography (PKIFCRYPTO)

Module: Miscellaneous

Id
PKIFCryptoErrors.h 2924 2006-01-23 20:35:07Z gbeier

Definition in file PKIFCryptoErrors.h.

#include "components.h"
#include "PKIFCommonErrors.h"

Include dependency graph for PKIFCryptoErrors.h:

This graph shows which files directly or indirectly include this file:

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 Documentation

#define CRYPTO_ALG_NOT_SUPPORTED   TOOLKIT_CRYPTO_ERROR_BASE + 1

#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

Not used.

Definition at line 40 of file PKIFCryptoErrors.h.

Referenced by GetErrorCodeString().

#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

#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().


Generated on Mon Nov 15 11:18:15 2010 for PublicKeyInfrastructureFramework(PKIF) by  doxygen 1.5.6