00001 00009 #ifndef __IssuerAltNameFactory_H__ 00010 #define __IssuerAltNameFactory_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 "IPKIFColleague.h" 00022 #include "ICACExtensionFactory.h" 00023 00029 class CAC_API_FACTORY CPKIFIssuerAltNameFactory : public IPKIFColleague, public ICACExtensionFactory 00030 { 00031 public: 00032 CPKIFIssuerAltNameFactory(); 00033 virtual ~CPKIFIssuerAltNameFactory(); 00034 00035 void Initialize(); 00036 //CPKIFX509ExtensionPtr create(const CACX509V3Extension& ext); 00037 CPKIFX509ExtensionPtr create(bool criticality, const CPKIFBufferPtr& ext); 00038 const char* refOID(); 00039 00040 private: 00042 CPKIFIssuerAltNameFactory(const CPKIFIssuerAltNameFactory& ext); 00044 CPKIFIssuerAltNameFactory& operator=(const CPKIFIssuerAltNameFactory& rhs); //added 4/6/2004 00045 }; 00046 DECLARE_SMART_POINTERS(CPKIFIssuerAltNameFactory); 00047 #endif