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

#ifndef __gen_nsIX509CertDB_h__
#define __gen_nsIX509CertDB_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
class nsISupportsArray; /* forward declaration */

class nsIX509Cert; /* forward declaration */

class nsIPK11Token; /* forward declaration */

class nsILocalFile; /* forward declaration */

class nsIInterfaceRequestor; /* forward declaration */

class nsIURI; /* forward declaration */

#define NS_X509CERTDB_CID { /* da48b3c0-1284-11d5-ac67-000064657374 */ \
    0xda48b3c0,                                                        \
    0x1284,                                                            \
    0x11d5,                                                            \
    {0xac, 0x67, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74}                   \
  }
#define NS_X509CERTDB_CONTRACTID "@mozilla.org/security/x509certdb;1"
typedef int (*nsCertCompareFunc)(nsIX509Cert *a, nsIX509Cert *b);

/* starting interface:    nsIOCSPResponder */
#define NS_IOCSPRESPONDER_IID_STR "96b2f5ae-4334-11d5-ba27-00108303b117"

#define NS_IOCSPRESPONDER_IID \
  {0x96b2f5ae, 0x4334, 0x11d5, \
    { 0xba, 0x27, 0x00, 0x10, 0x83, 0x03, 0xb1, 0x17 }}

class NS_NO_VTABLE nsIOCSPResponder : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IOCSPRESPONDER_IID)

  /* readonly attribute wstring responseSigner; */
  NS_IMETHOD GetResponseSigner(PRUnichar * *aResponseSigner) = 0;

  /* readonly attribute wstring serviceURL; */
  NS_IMETHOD GetServiceURL(PRUnichar * *aServiceURL) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIOCSPRESPONDER \
  NS_IMETHOD GetResponseSigner(PRUnichar * *aResponseSigner); \
  NS_IMETHOD GetServiceURL(PRUnichar * *aServiceURL); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIOCSPRESPONDER(_to) \
  NS_IMETHOD GetResponseSigner(PRUnichar * *aResponseSigner) { return _to ## GetResponseSigner(aResponseSigner); } \
  NS_IMETHOD GetServiceURL(PRUnichar * *aServiceURL) { return _to ## GetServiceURL(aServiceURL); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIOCSPRESPONDER(_to) \
  NS_IMETHOD GetResponseSigner(PRUnichar * *aResponseSigner) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetResponseSigner(aResponseSigner); } \
  NS_IMETHOD GetServiceURL(PRUnichar * *aServiceURL) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetServiceURL(aServiceURL); } 

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

/* Header file */
class nsOCSPResponder : public nsIOCSPResponder
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIOCSPRESPONDER

  nsOCSPResponder();
  virtual ~nsOCSPResponder();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsOCSPResponder, nsIOCSPResponder)

nsOCSPResponder::nsOCSPResponder()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* readonly attribute wstring responseSigner; */
NS_IMETHODIMP nsOCSPResponder::GetResponseSigner(PRUnichar * *aResponseSigner)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute wstring serviceURL; */
NS_IMETHODIMP nsOCSPResponder::GetServiceURL(PRUnichar * *aServiceURL)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsICrlEntry */
#define NS_ICRLENTRY_IID_STR "c185d920-4a3e-11d5-ba27-00108303b117"

#define NS_ICRLENTRY_IID \
  {0xc185d920, 0x4a3e, 0x11d5, \
    { 0xba, 0x27, 0x00, 0x10, 0x83, 0x03, 0xb1, 0x17 }}

class NS_NO_VTABLE nsICrlEntry : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_ICRLENTRY_IID)

  /* readonly attribute wstring name; */
  NS_IMETHOD GetName(PRUnichar * *aName) = 0;

  /* readonly attribute wstring lastUpdate; */
  NS_IMETHOD GetLastUpdate(PRUnichar * *aLastUpdate) = 0;

  /* readonly attribute wstring nextUpdate; */
  NS_IMETHOD GetNextUpdate(PRUnichar * *aNextUpdate) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSICRLENTRY \
  NS_IMETHOD GetName(PRUnichar * *aName); \
  NS_IMETHOD GetLastUpdate(PRUnichar * *aLastUpdate); \
  NS_IMETHOD GetNextUpdate(PRUnichar * *aNextUpdate); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSICRLENTRY(_to) \
  NS_IMETHOD GetName(PRUnichar * *aName) { return _to ## GetName(aName); } \
  NS_IMETHOD GetLastUpdate(PRUnichar * *aLastUpdate) { return _to ## GetLastUpdate(aLastUpdate); } \
  NS_IMETHOD GetNextUpdate(PRUnichar * *aNextUpdate) { return _to ## GetNextUpdate(aNextUpdate); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSICRLENTRY(_to) \
  NS_IMETHOD GetName(PRUnichar * *aName) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetName(aName); } \
  NS_IMETHOD GetLastUpdate(PRUnichar * *aLastUpdate) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetLastUpdate(aLastUpdate); } \
  NS_IMETHOD GetNextUpdate(PRUnichar * *aNextUpdate) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##->GetNextUpdate(aNextUpdate); } 

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

/* Header file */
class nsCrlEntry : public nsICrlEntry
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSICRLENTRY

  nsCrlEntry();
  virtual ~nsCrlEntry();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsCrlEntry, nsICrlEntry)

nsCrlEntry::nsCrlEntry()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* readonly attribute wstring name; */
NS_IMETHODIMP nsCrlEntry::GetName(PRUnichar * *aName)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute wstring lastUpdate; */
NS_IMETHODIMP nsCrlEntry::GetLastUpdate(PRUnichar * *aLastUpdate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* readonly attribute wstring nextUpdate; */
NS_IMETHODIMP nsCrlEntry::GetNextUpdate(PRUnichar * *aNextUpdate)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


/* starting interface:    nsIX509CertDB */
#define NS_IX509CERTDB_IID_STR "da48b3c0-1284-11d5-ac67-000064657374"

#define NS_IX509CERTDB_IID \
  {0xda48b3c0, 0x1284, 0x11d5, \
    { 0xac, 0x67, 0x00, 0x00, 0x64, 0x65, 0x73, 0x74 }}

class NS_NO_VTABLE nsIX509CertDB : public nsISupports {
 public: 

  NS_DEFINE_STATIC_IID_ACCESSOR(NS_IX509CERTDB_IID)

  enum { UNTRUSTED = 0U };

  enum { TRUSTED_SSL = 1U };

  enum { TRUSTED_EMAIL = 2U };

  enum { TRUSTED_OBJSIGN = 4U };

  /* nsIX509Cert getCertByNickname (in nsIPK11Token aToken, in wstring aNickname); */
  NS_IMETHOD GetCertByNickname(nsIPK11Token *aToken, const PRUnichar *aNickname, nsIX509Cert **_retval) = 0;

  /* nsIX509Cert getCertByDBKey (in string aDBkey, in nsIPK11Token aToken); */
  NS_IMETHOD GetCertByDBKey(const char *aDBkey, nsIPK11Token *aToken, nsIX509Cert **_retval) = 0;

  /* void getCertNicknames (in nsIPK11Token aToken, in unsigned long aType, out unsigned long count, [array, size_is (count)] out wstring certNameList); */
  NS_IMETHOD GetCertNicknames(nsIPK11Token *aToken, PRUint32 aType, PRUint32 *count, PRUnichar ***certNameList) = 0;

  /* [noscript, notxpcom] boolean getCertsByType (in unsigned long aType, in nsCertCompareFunc aCertCmpFn, out nsISupportsArray certs); */
  NS_IMETHOD_(PRBool) GetCertsByType(PRUint32 aType, nsCertCompareFunc aCertCmpFn, nsISupportsArray **certs) = 0;

  /* [noscript] void importCertificate (in nsIX509Cert cert, in unsigned long type, in unsigned long trust, in wstring nickname); */
  NS_IMETHOD ImportCertificate(nsIX509Cert *cert, PRUint32 type, PRUint32 trust, const PRUnichar *nickname) = 0;

  /* [noscript] void importUserCertificate (in charPtr data, in unsigned long length, in nsIInterfaceRequestor ctx); */
  NS_IMETHOD ImportUserCertificate(char * data, PRUint32 length, nsIInterfaceRequestor *ctx) = 0;

  /* void deleteCertificate (in nsIX509Cert aCert); */
  NS_IMETHOD DeleteCertificate(nsIX509Cert *aCert) = 0;

  /* void setCertTrust (in nsIX509Cert cert, in unsigned long type, in unsigned long trust); */
  NS_IMETHOD SetCertTrust(nsIX509Cert *cert, PRUint32 type, PRUint32 trust) = 0;

  /* boolean getCertTrust (in nsIX509Cert cert, in unsigned long certType, in unsigned long trustType); */
  NS_IMETHOD GetCertTrust(nsIX509Cert *cert, PRUint32 certType, PRUint32 trustType, PRBool *_retval) = 0;

  /* void importPKCS12File (in nsIPK11Token aToken, in nsILocalFile aFile); */
  NS_IMETHOD ImportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile) = 0;

  /* void exportPKCS12File (in nsIPK11Token aToken, in nsILocalFile aFile, in PRUint32 count, [array, size_is (count)] in nsIX509Cert aCerts); */
  NS_IMETHOD ExportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile, PRUint32 count, nsIX509Cert **aCerts) = 0;

  /* nsISupportsArray getOCSPResponders (); */
  NS_IMETHOD GetOCSPResponders(nsISupportsArray **_retval) = 0;

  /* [noscript] void importCrl (in charPtr data, in unsigned long length, in nsIURI uri, in PRUint32 type); */
  NS_IMETHOD ImportCrl(char * data, PRUint32 length, nsIURI *uri, PRUint32 type) = 0;

  /* nsISupportsArray getCrls (); */
  NS_IMETHOD GetCrls(nsISupportsArray **_retval) = 0;

  /* void deleteCrl (in PRUint32 crlIndex); */
  NS_IMETHOD DeleteCrl(PRUint32 crlIndex) = 0;

};

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIX509CERTDB \
  NS_IMETHOD GetCertByNickname(nsIPK11Token *aToken, const PRUnichar *aNickname, nsIX509Cert **_retval); \
  NS_IMETHOD GetCertByDBKey(const char *aDBkey, nsIPK11Token *aToken, nsIX509Cert **_retval); \
  NS_IMETHOD GetCertNicknames(nsIPK11Token *aToken, PRUint32 aType, PRUint32 *count, PRUnichar ***certNameList); \
  NS_IMETHOD_(PRBool) GetCertsByType(PRUint32 aType, nsCertCompareFunc aCertCmpFn, nsISupportsArray **certs); \
  NS_IMETHOD ImportCertificate(nsIX509Cert *cert, PRUint32 type, PRUint32 trust, const PRUnichar *nickname); \
  NS_IMETHOD ImportUserCertificate(char * data, PRUint32 length, nsIInterfaceRequestor *ctx); \
  NS_IMETHOD DeleteCertificate(nsIX509Cert *aCert); \
  NS_IMETHOD SetCertTrust(nsIX509Cert *cert, PRUint32 type, PRUint32 trust); \
  NS_IMETHOD GetCertTrust(nsIX509Cert *cert, PRUint32 certType, PRUint32 trustType, PRBool *_retval); \
  NS_IMETHOD ImportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile); \
  NS_IMETHOD ExportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile, PRUint32 count, nsIX509Cert **aCerts); \
  NS_IMETHOD GetOCSPResponders(nsISupportsArray **_retval); \
  NS_IMETHOD ImportCrl(char * data, PRUint32 length, nsIURI *uri, PRUint32 type); \
  NS_IMETHOD GetCrls(nsISupportsArray **_retval); \
  NS_IMETHOD DeleteCrl(PRUint32 crlIndex); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIX509CERTDB(_to) \
  NS_IMETHOD GetCertByNickname(nsIPK11Token *aToken, const PRUnichar *aNickname, nsIX509Cert **_retval) { return _to ## GetCertByNickname(aToken, aNickname, _retval); } \
  NS_IMETHOD GetCertByDBKey(const char *aDBkey, nsIPK11Token *aToken, nsIX509Cert **_retval) { return _to ## GetCertByDBKey(aDBkey, aToken, _retval); } \
  NS_IMETHOD GetCertNicknames(nsIPK11Token *aToken, PRUint32 aType, PRUint32 *count, PRUnichar ***certNameList) { return _to ## GetCertNicknames(aToken, aType, count, certNameList); } \
  NS_IMETHOD_(PRBool) GetCertsByType(PRUint32 aType, nsCertCompareFunc aCertCmpFn, nsISupportsArray **certs) { return _to ## GetCertsByType(aType, aCertCmpFn, certs); } \
  NS_IMETHOD ImportCertificate(nsIX509Cert *cert, PRUint32 type, PRUint32 trust, const PRUnichar *nickname) { return _to ## ImportCertificate(cert, type, trust, nickname); } \
  NS_IMETHOD ImportUserCertificate(char * data, PRUint32 length, nsIInterfaceRequestor *ctx) { return _to ## ImportUserCertificate(data, length, ctx); } \
  NS_IMETHOD DeleteCertificate(nsIX509Cert *aCert) { return _to ## DeleteCertificate(aCert); } \
  NS_IMETHOD SetCertTrust(nsIX509Cert *cert, PRUint32 type, PRUint32 trust) { return _to ## SetCertTrust(cert, type, trust); } \
  NS_IMETHOD GetCertTrust(nsIX509Cert *cert, PRUint32 certType, PRUint32 trustType, PRBool *_retval) { return _to ## GetCertTrust(cert, certType, trustType, _retval); } \
  NS_IMETHOD ImportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile) { return _to ## ImportPKCS12File(aToken, aFile); } \
  NS_IMETHOD ExportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile, PRUint32 count, nsIX509Cert **aCerts) { return _to ## ExportPKCS12File(aToken, aFile, count, aCerts); } \
  NS_IMETHOD GetOCSPResponders(nsISupportsArray **_retval) { return _to ## GetOCSPResponders(_retval); } \
  NS_IMETHOD ImportCrl(char * data, PRUint32 length, nsIURI *uri, PRUint32 type) { return _to ## ImportCrl(data, length, uri, type); } \
  NS_IMETHOD GetCrls(nsISupportsArray **_retval) { return _to ## GetCrls(_retval); } \
  NS_IMETHOD DeleteCrl(PRUint32 crlIndex) { return _to ## DeleteCrl(crlIndex); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIX509CERTDB(_to) \
  NS_IMETHOD GetCertByNickname(nsIPK11Token *aToken, const PRUnichar *aNickname, nsIX509Cert **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCertByNickname(aToken, aNickname, _retval); } \
  NS_IMETHOD GetCertByDBKey(const char *aDBkey, nsIPK11Token *aToken, nsIX509Cert **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCertByDBKey(aDBkey, aToken, _retval); } \
  NS_IMETHOD GetCertNicknames(nsIPK11Token *aToken, PRUint32 aType, PRUint32 *count, PRUnichar ***certNameList) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCertNicknames(aToken, aType, count, certNameList); } \
  NS_IMETHOD_(PRBool) GetCertsByType(PRUint32 aType, nsCertCompareFunc aCertCmpFn, nsISupportsArray **certs) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCertsByType(aType, aCertCmpFn, certs); } \
  NS_IMETHOD ImportCertificate(nsIX509Cert *cert, PRUint32 type, PRUint32 trust, const PRUnichar *nickname) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ImportCertificate(cert, type, trust, nickname); } \
  NS_IMETHOD ImportUserCertificate(char * data, PRUint32 length, nsIInterfaceRequestor *ctx) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ImportUserCertificate(data, length, ctx); } \
  NS_IMETHOD DeleteCertificate(nsIX509Cert *aCert) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> DeleteCertificate(aCert); } \
  NS_IMETHOD SetCertTrust(nsIX509Cert *cert, PRUint32 type, PRUint32 trust) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> SetCertTrust(cert, type, trust); } \
  NS_IMETHOD GetCertTrust(nsIX509Cert *cert, PRUint32 certType, PRUint32 trustType, PRBool *_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCertTrust(cert, certType, trustType, _retval); } \
  NS_IMETHOD ImportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ImportPKCS12File(aToken, aFile); } \
  NS_IMETHOD ExportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile, PRUint32 count, nsIX509Cert **aCerts) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ExportPKCS12File(aToken, aFile, count, aCerts); } \
  NS_IMETHOD GetOCSPResponders(nsISupportsArray **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetOCSPResponders(_retval); } \
  NS_IMETHOD ImportCrl(char * data, PRUint32 length, nsIURI *uri, PRUint32 type) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> ImportCrl(data, length, uri, type); } \
  NS_IMETHOD GetCrls(nsISupportsArray **_retval) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> GetCrls(_retval); } \
  NS_IMETHOD DeleteCrl(PRUint32 crlIndex) { return !_to ## ? NS_ERROR_NULL_POINTER : _to ##-> DeleteCrl(crlIndex); } 

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

/* Header file */
class nsX509CertDB : public nsIX509CertDB
{
public:
  NS_DECL_ISUPPORTS
  NS_DECL_NSIX509CERTDB

  nsX509CertDB();
  virtual ~nsX509CertDB();
  /* additional members */
};

/* Implementation file */
NS_IMPL_ISUPPORTS1(nsX509CertDB, nsIX509CertDB)

nsX509CertDB::nsX509CertDB()
{
  NS_INIT_ISUPPORTS();
  /* member initializers and constructor code */
}

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

/* nsIX509Cert getCertByNickname (in nsIPK11Token aToken, in wstring aNickname); */
NS_IMETHODIMP nsX509CertDB::GetCertByNickname(nsIPK11Token *aToken, const PRUnichar *aNickname, nsIX509Cert **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsIX509Cert getCertByDBKey (in string aDBkey, in nsIPK11Token aToken); */
NS_IMETHODIMP nsX509CertDB::GetCertByDBKey(const char *aDBkey, nsIPK11Token *aToken, nsIX509Cert **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void getCertNicknames (in nsIPK11Token aToken, in unsigned long aType, out unsigned long count, [array, size_is (count)] out wstring certNameList); */
NS_IMETHODIMP nsX509CertDB::GetCertNicknames(nsIPK11Token *aToken, PRUint32 aType, PRUint32 *count, PRUnichar ***certNameList)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript, notxpcom] boolean getCertsByType (in unsigned long aType, in nsCertCompareFunc aCertCmpFn, out nsISupportsArray certs); */
NS_IMETHODIMP_(PRBool) nsX509CertDB::GetCertsByType(PRUint32 aType, nsCertCompareFunc aCertCmpFn, nsISupportsArray **certs)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void importCertificate (in nsIX509Cert cert, in unsigned long type, in unsigned long trust, in wstring nickname); */
NS_IMETHODIMP nsX509CertDB::ImportCertificate(nsIX509Cert *cert, PRUint32 type, PRUint32 trust, const PRUnichar *nickname)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void importUserCertificate (in charPtr data, in unsigned long length, in nsIInterfaceRequestor ctx); */
NS_IMETHODIMP nsX509CertDB::ImportUserCertificate(char * data, PRUint32 length, nsIInterfaceRequestor *ctx)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteCertificate (in nsIX509Cert aCert); */
NS_IMETHODIMP nsX509CertDB::DeleteCertificate(nsIX509Cert *aCert)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void setCertTrust (in nsIX509Cert cert, in unsigned long type, in unsigned long trust); */
NS_IMETHODIMP nsX509CertDB::SetCertTrust(nsIX509Cert *cert, PRUint32 type, PRUint32 trust)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* boolean getCertTrust (in nsIX509Cert cert, in unsigned long certType, in unsigned long trustType); */
NS_IMETHODIMP nsX509CertDB::GetCertTrust(nsIX509Cert *cert, PRUint32 certType, PRUint32 trustType, PRBool *_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void importPKCS12File (in nsIPK11Token aToken, in nsILocalFile aFile); */
NS_IMETHODIMP nsX509CertDB::ImportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void exportPKCS12File (in nsIPK11Token aToken, in nsILocalFile aFile, in PRUint32 count, [array, size_is (count)] in nsIX509Cert aCerts); */
NS_IMETHODIMP nsX509CertDB::ExportPKCS12File(nsIPK11Token *aToken, nsILocalFile *aFile, PRUint32 count, nsIX509Cert **aCerts)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISupportsArray getOCSPResponders (); */
NS_IMETHODIMP nsX509CertDB::GetOCSPResponders(nsISupportsArray **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* [noscript] void importCrl (in charPtr data, in unsigned long length, in nsIURI uri, in PRUint32 type); */
NS_IMETHODIMP nsX509CertDB::ImportCrl(char * data, PRUint32 length, nsIURI *uri, PRUint32 type)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* nsISupportsArray getCrls (); */
NS_IMETHODIMP nsX509CertDB::GetCrls(nsISupportsArray **_retval)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

/* void deleteCrl (in PRUint32 crlIndex); */
NS_IMETHODIMP nsX509CertDB::DeleteCrl(PRUint32 crlIndex)
{
    return NS_ERROR_NOT_IMPLEMENTED;
}

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


#endif /* __gen_nsIX509CertDB_h__ */
