PKIFMessageErrors.h File Reference


Detailed Description

Subsystem: Cryptographic Message Syntax (PKIFCMS)

Module: Miscellaneous

Id
PKIFMessageErrors.h 3759 2006-04-12 12:40:13Z agalustyan

Definition in file PKIFMessageErrors.h.

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

Include dependency graph for PKIFMessageErrors.h:

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

Go to the source code of this file.

Defines

#define MSG_DECODE_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 1
 A CMS message could not be decoded.
#define MSG_INCOMPLETE   TOOLKIT_MESSAGE_ERROR_BASE + 2
 A CMS message could not be encoded because it is incomplete.
#define MSG_ENCODE_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 3
 A CMS message could not be encoded.
#define MSG_SYMKEY_DECRYPT_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 4
 A CMS message could not be decrypted because the content decryption key could not be recovered.
#define MSG_MISSING_PARAMS   TOOLKIT_MESSAGE_ERROR_BASE + 5
#define MSG_INVALID_INDEX   TOOLKIT_MESSAGE_ERROR_BASE + 6
 SignedData verification failed because the specified SignerInfo index does not exist.
#define MSG_INVALID_CREDENTIAL   TOOLKIT_MESSAGE_ERROR_BASE + 7
#define MSG_INVALID_RECIP   TOOLKIT_MESSAGE_ERROR_BASE + 8
#define MSG_SIGNATURE_GENERATION_ERROR   TOOLKIT_MESSAGE_ERROR_BASE + 9
 A signature generation operation failed.
#define MSG_INVALID_STATE   TOOLKIT_MESSAGE_ERROR_BASE + 10
 A CMS-related object is not in a suitable state to perform a requested operation.
#define MSG_NO_CERTIFICATE   TOOLKIT_MESSAGE_ERROR_BASE + 11
 A verification operation could not be performed because the message does not contain a signer's certificate.


Define Documentation

#define MSG_DECODE_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 1

#define MSG_ENCODE_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 3

A CMS message could not be encoded.

Definition at line 25 of file PKIFMessageErrors.h.

Referenced by CPKIFContentInfo::Encode(), and GetErrorCodeString().

#define MSG_INCOMPLETE   TOOLKIT_MESSAGE_ERROR_BASE + 2

A CMS message could not be encoded because it is incomplete.

Definition at line 22 of file PKIFMessageErrors.h.

Referenced by CPKIFContentInfo::Encode(), GetErrorCodeString(), and CPKIFSigningCertificateAttribute::GetValues().

#define MSG_INVALID_CREDENTIAL   TOOLKIT_MESSAGE_ERROR_BASE + 7

The credential specified for use in generating a signature is either not valid for signature purposes or does not contain a certificate

Definition at line 39 of file PKIFMessageErrors.h.

Referenced by GetErrorCodeString(), and CPKIFSignerInfo::SetCredential().

#define MSG_INVALID_INDEX   TOOLKIT_MESSAGE_ERROR_BASE + 6

SignedData verification failed because the specified SignerInfo index does not exist.

Definition at line 35 of file PKIFMessageErrors.h.

Referenced by GetErrorCodeString().

#define MSG_INVALID_RECIP   TOOLKIT_MESSAGE_ERROR_BASE + 8

A recipient certificate is not valid. This may be because the certificate is not valid for encryption purposes or because a valid certification path could not be found

Definition at line 43 of file PKIFMessageErrors.h.

Referenced by CPKIFEnvelopedData::AddRecipient(), and GetErrorCodeString().

#define MSG_INVALID_STATE   TOOLKIT_MESSAGE_ERROR_BASE + 10

A CMS-related object is not in a suitable state to perform a requested operation.

Definition at line 49 of file PKIFMessageErrors.h.

Referenced by CPKIFSignedData::AddSignerInfo(), GetErrorCodeString(), CPKIFSignedData::GetSignersCert(), CPKIFParallelHash::SetDigestAlgs(), and CPKIFParallelHash::UpdateMessage().

#define MSG_MISSING_PARAMS   TOOLKIT_MESSAGE_ERROR_BASE + 5

A CMS message could not be decrypted because parameters necessary to perform the operation, e.g. IV, were not available.

Definition at line 32 of file PKIFMessageErrors.h.

Referenced by CPKIFEnvelopedData::Decrypt(), CPKIFEncryptedData::Decrypt(), and GetErrorCodeString().

#define MSG_NO_CERTIFICATE   TOOLKIT_MESSAGE_ERROR_BASE + 11

A verification operation could not be performed because the message does not contain a signer's certificate.

Definition at line 52 of file PKIFMessageErrors.h.

Referenced by GetErrorCodeString().

#define MSG_SIGNATURE_GENERATION_ERROR   TOOLKIT_MESSAGE_ERROR_BASE + 9

A signature generation operation failed.

Definition at line 46 of file PKIFMessageErrors.h.

Referenced by GetErrorCodeString(), and GetSignerInfo().

#define MSG_SYMKEY_DECRYPT_FAILED   TOOLKIT_MESSAGE_ERROR_BASE + 4

A CMS message could not be decrypted because the content decryption key could not be recovered.

Definition at line 28 of file PKIFMessageErrors.h.

Referenced by CPKIFEnvelopedData::Decrypt(), and GetErrorCodeString().


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