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(); //added 8/21/2004
00034     //Retrieves CRLs that cover the cert passed in the cert parameter.  There is no guarantee that the CRLs
00035     //returned are applicable.  The list must be inspected (and possible pruned or added to) prior to
00036     //determining the status of the cert against one (or more) of the crls in the list.
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     //added 8/21/2004
00046     IPKIFCRLRepository(const IPKIFCRLRepository& copy);
00048     IPKIFCRLRepository& operator=(const IPKIFCRLRepository& rhs); 
00049 };
00050 DECLARE_SMART_POINTERS(IPKIFCRLRepository);
00051 
00052 
00053 //implemented in SimpleCRLCache.cpp
00054 class CAC_API CRLCoversTimeOfInterest
00055 {
00056 public:
00057     bool operator()(const CPKIFCRLPtr& test);
00058     void SetTimeOfInterest(CPKIFTimePtr& time);
00059 
00060 private:
00061     //Implicit copy constructor OK because members have reference counted assignment
00062     //CRLPassedNextUpdate(const CRLPassedNextUpdate& copy);
00063     CRLCoversTimeOfInterest& operator=(const CRLCoversTimeOfInterest& rhs); 
00064 
00065     CPKIFTimePtr m_time;
00066 };
00067 
00068 #endif
00069 

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