00001 00011 #ifndef __PKIFCRLNODEENTRY_H__ 00012 #define __PKIFCRLNODEENTRY_H__ 00013 00014 #include "PKIFdll.h" 00015 #include "IPKIFPkiArtifact.h" 00016 #include <vector> 00017 00018 FD_SMART_PTR(CPKIFCRL); 00019 FD_SMART_PTR(CPKIFX509Extension); 00020 FD_SMART_PTR(CPKIFCertStatus); 00021 00031 // forward declaration 00032 struct CPKIFCRLNodeEntryImpl; 00033 00034 class CAC_API CPKIFCRLNodeEntry : public IPKIFPkiArtifact 00035 { 00036 public: 00037 CPKIFCRLNodeEntry(); 00038 CPKIFCRLNodeEntry(CPKIFCRLPtr& crl); 00039 virtual ~CPKIFCRLNodeEntry(void); 00040 00041 //function to get and set the cert wrapped by this node instance 00042 virtual CPKIFCRLPtr GetCRL()const; 00043 virtual void SetCRL(const CPKIFCRLPtr& crl); 00044 00045 bool operator==(const CPKIFCRLNodeEntry& rhs); 00046 bool operator==(const CPKIFCRLPtr& rhs); 00047 00048 private: 00050 CPKIFCRLNodeEntry(const CPKIFCRLNodeEntry& copy); 00052 CPKIFCRLNodeEntry& operator=(const CPKIFCRLNodeEntry& rhs); 00053 00054 struct CPKIFCRLNodeEntryImpl *m_impl; 00055 }; 00056 DECLARE_SMART_POINTERS(CPKIFCRLNodeEntry); 00057 typedef std::vector<CPKIFCRLNodeEntryPtr, PKIFAlloc<CPKIFCRLNodeEntryPtr> > CPKIFCRLNodeList; 00058 DECLARE_SMART_POINTERS(CPKIFCRLNodeList); 00059 00060 #endif