/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM ../../../dist/idl/nsICMSMessageErrors.idl
 */

#ifndef __gen_nsICMSMessageErrors_h__
#define __gen_nsICMSMessageErrors_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsICMSMessageErrors */
#define NS_ICMSMESSAGEERRORS_IID_STR "267f1a5b-88f7-413b-bc49-487e745282f1"

#define NS_ICMSMESSAGEERRORS_IID \
  {0x267f1a5b, 0x88f7, 0x413b, \
    { 0xbc, 0x49, 0x48, 0x7e, 0x74, 0x52, 0x82, 0xf1 }}

class NS_NO_VTABLE nsICMSMessageErrors : public nsISupports {
 public: 

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_ICMSMESSAGEERRORS_IID)

  enum {
    SUCCESS = 0,
    GENERAL_ERROR = 1,
    VERIFY_NOT_SIGNED = 1024,
    VERIFY_NO_CONTENT_INFO = 1025,
    VERIFY_BAD_DIGEST = 1026,
    VERIFY_NOCERT = 1028,
    VERIFY_UNTRUSTED = 1029,
    VERIFY_ERROR_UNVERIFIED = 1031,
    VERIFY_ERROR_PROCESSING = 1032,
    VERIFY_BAD_SIGNATURE = 1033,
    VERIFY_DIGEST_MISMATCH = 1034,
    VERIFY_UNKNOWN_ALGO = 1035,
    VERIFY_UNSUPPORTED_ALGO = 1036,
    VERIFY_MALFORMED_SIGNATURE = 1037,
    VERIFY_HEADER_MISMATCH = 1038,
    VERIFY_NOT_YET_ATTEMPTED = 1039,
    VERIFY_CERT_WITHOUT_ADDRESS = 1040,
    ENCRYPT_NO_BULK_ALG = 1056,
    ENCRYPT_INCOMPLETE = 1057
  };

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsICMSMessageErrors, NS_ICMSMESSAGEERRORS_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICMSMESSAGEERRORS \

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICMSMESSAGEERRORS(_to) \

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICMSMESSAGEERRORS(_to) \

#if 0
/* Use the code below as a template for the implementation class for this interface. */

/* Header file */
class nsCMSMessageErrors : public nsICMSMessageErrors
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICMSMESSAGEERRORS

  nsCMSMessageErrors();

private:
  ~nsCMSMessageErrors();

protected:
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS(nsCMSMessageErrors, nsICMSMessageErrors)

nsCMSMessageErrors::nsCMSMessageErrors()
{
  /* member initializers and constructor code */
}

nsCMSMessageErrors::~nsCMSMessageErrors()
{
  /* destructor code */
}

/* End of implementation class template. */
#endif


#endif /* __gen_nsICMSMessageErrors_h__ */
