00001 00009 #ifndef __FreshestCRL_H__ 00010 #define __FreshestCRL_H__ 00011 00012 #if _MSC_VER > 1000 00013 #pragma once 00014 #endif // _MSC_VER > 1000 00015 00016 00017 #include "PKIFdll.h" 00018 #define CAC_API_FACTORY 00019 00020 #include "X509Extension.h" 00021 #include <vector> 00022 00023 // forward declaration 00024 struct CPKIFFreshestCRLImpl; 00025 FD_LIST_PTR(CPKIFCRLDistributionPoint); 00026 00038 class CAC_API CPKIFFreshestCRL : public CPKIFX509Extension 00039 { 00040 public: 00041 CPKIFFreshestCRL(); 00042 //CPKIFFreshestCRL(const CACX509V3Extension& ext); 00043 CPKIFFreshestCRL(const bool& criticality, const CPKIFBufferPtr& ext); 00044 virtual ~CPKIFFreshestCRL(); 00045 00046 static char extOID[]; 00047 const CPKIFOIDPtr oid() const; 00048 00049 CPKIFCRLDistributionPointListPtr DPs() const; 00050 CPKIFBufferPtr value() const; 00051 00052 private: 00053 CPKIFFreshestCRL(const CPKIFFreshestCRL& ext); 00054 CPKIFFreshestCRL& operator=(const CPKIFFreshestCRL& rhs); //added 4/6/2004 00055 00056 struct CPKIFFreshestCRLImpl *m_impl; 00057 }; 00058 DECLARE_SMART_POINTERS(CPKIFFreshestCRL); 00059 00060 #endif