CAPICertUpdate2.h

Go to the documentation of this file.
00001 
00010 #ifndef __CAPICERTUPDATE2_H__
00011 #define __CAPICERTUPDATE2_H__
00012 
00013 #include "PKIFdll.h"
00014 #include "IPKIFColleague.h"
00015 #include "IPKIFCAPISource.h"
00016 #include "IPKIFCertRepositoryUpdate.h"
00017 #include "components.h"
00018 
00019 #include <wincrypt.h>
00020 
00021 //----------------------------------------------------------------------------------------------------
00022 //  CPKIFCAPICertUpdate2
00023 //----------------------------------------------------------------------------------------------------
00024 extern CAC_API char g_defCACCAPIStore[];
00043 class CAC_API CPKIFCAPICertUpdate2 : public IPKIFCertRepositoryUpdate, public IPKIFColleague, public IPKIFCAPISource
00044 {
00045 public:
00046     CPKIFCAPICertUpdate2(int sysStoRegLoc = CERT_SYSTEM_STORE_CURRENT_USER, const char* store = g_defCACCAPIStore);
00047     virtual ~CPKIFCAPICertUpdate2(void);
00048 
00049     //IPKIFColleague functions
00050     void Initialize(void);
00051 
00052     //IPKIFCertRepositoryUpdate functions
00053     void AddCertificate(CertType certType, const CPKIFCertificatePtr& cert);
00054 
00055 private:
00057     CPKIFCAPICertUpdate2(const CPKIFCAPICertUpdate2& copy);
00059     CPKIFCAPICertUpdate2& operator=(const CPKIFCAPICertUpdate2& rhs); //added 4/6/2004
00060 
00061     struct CPKIFCAPICertUpdate2Impl *m_impl;
00062 
00063     enum {thisComponent = TOOLKIT_SR_CAPICERTUPDATE};
00064 };
00065 DECLARE_SMART_POINTERS(CPKIFCAPICertUpdate2);
00066 
00067 
00068 
00069 #endif

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