00001 00009 #ifndef __CRLNumber_H__ 00010 #define __CRLNumber_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 CAC_API 00019 #define CAC_API_FACTORY 00020 00021 #include "X509Extension.h" 00022 00023 // forward declaration 00024 struct CPKIFCRLNumberImpl; 00025 00041 class CAC_API CPKIFCRLNumber : public CPKIFX509Extension 00042 { 00043 public: 00044 CPKIFCRLNumber(); 00045 //CPKIFCRLNumber(const CACX509V3Extension& ext); 00046 CPKIFCRLNumber(const bool& criticality, const CPKIFBufferPtr& ext); 00047 virtual ~CPKIFCRLNumber(); 00048 00049 static char extOID[]; 00050 const CPKIFOIDPtr oid() const; 00051 00052 const char* CRLNumber() const; 00053 00054 CPKIFBufferPtr value() const; 00055 00056 private: 00057 CPKIFCRLNumber(const CPKIFCRLNumber& ext); 00058 CPKIFCRLNumber& operator=(const CPKIFCRLNumber& rhs); //added 4/6/2004 00059 00060 CPKIFCRLNumberImpl *m_impl; 00061 }; 00062 DECLARE_SMART_POINTERS(CPKIFCRLNumber); 00063 #endif