IPKIFCRLRepository.h
Go to the documentation of this file.00001 
00009 #ifndef __IPKIFCRLREPOSITORY_H__
00010 #define __IPKIFCRLREPOSITORY_H__
00011 
00012 #include "PKIFdll.h"
00013 #include "PKIFEnums.h"
00014 FD_SMART_PTR(CPKIFCertificate);
00015 FD_LIST_PTR(CPKIFCRL);
00016 
00017 FD_CRL_NODE_LIST_PTR(CPKIFCRLNodeEntry);
00018 FD_SMART_PTR(CPKIFPathSettings);
00019 FD_LIST_PTR(CPKIFTime);
00020 
00021 
00030 class CAC_API CAC_NO_VTABLE IPKIFCRLRepository
00031 {
00032 public:
00033     IPKIFCRLRepository(); 
00034     
00035     
00036     
00037     virtual void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCRLList& crlList, PKIInfoSource source = ALL) = 0;
00038     
00039     virtual void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCRLNodeList& crlNodeList, PKIInfoSource source = ALL);
00040 
00041     virtual void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCRLList& crlList, PKIInfoSource source, CPKIFPathSettingsPtr& ps);
00042     virtual void GetCRLs(const CPKIFCertificatePtr& cert, CPKIFCRLNodeList& crlNodeList, PKIInfoSource source, CPKIFPathSettingsPtr& ps);
00043 private:
00044     
00046     IPKIFCRLRepository(const IPKIFCRLRepository& copy);
00048     IPKIFCRLRepository& operator=(const IPKIFCRLRepository& rhs); 
00049 };
00050 DECLARE_SMART_POINTERS(IPKIFCRLRepository);
00051 
00052 
00053 
00054 class CAC_API CRLCoversTimeOfInterest
00055 {
00056 public:
00057     bool operator()(const CPKIFCRLPtr& test);
00058     void SetTimeOfInterest(CPKIFTimePtr& time);
00059 
00060 private:
00061     
00062     
00063     CRLCoversTimeOfInterest& operator=(const CRLCoversTimeOfInterest& rhs); 
00064 
00065     CPKIFTimePtr m_time;
00066 };
00067 
00068 #endif
00069