00001 00009 #ifndef __RevocationSource_H__ 00010 #define __RevocationSource_H__ 00011 00012 #include "PKIFdll.h" 00013 #include "PathConstants.h" 00014 #include <vector> 00015 00016 FD_SMART_PTR(IPKIFRevSourceInfo); 00017 00024 class CAC_API RevocationSource 00025 { 00026 public: 00027 RevocationSource(); 00028 int m_sourceType; //should be one of the REVINFO_XXX in components.h 00029 IPKIFRevSourceInfoPtr m_sourceInfo; 00030 RevocationStatus m_status; //the status as determined by this source (may differ from that held 00031 //by CertStatus object 00032 int m_errorCode; //errors associated with this source (should only have 00033 //meaning when m_status is set to NOT_CHECKED) 00034 }; 00035 DECLARE_SMART_POINTERS(RevocationSource); 00036 typedef std::vector<RevocationSourcePtr, PKIFAlloc<RevocationSourcePtr> > RevocationSourceList; 00037 00038 #endif