00001 00009 #ifndef __AuthorityKeyIdentifierFactory_H__ 00010 #define __AuthorityKeyIdentifierFactory_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 00030 class CAC_API_FACTORY CPKIFAuthorityKeyIdentifierFactory : public IPKIFColleague, public ICACExtensionFactory 00031 { 00032 public: 00033 CPKIFAuthorityKeyIdentifierFactory(); 00034 virtual ~CPKIFAuthorityKeyIdentifierFactory(); 00035 00036 void Initialize(); 00037 //CPKIFX509ExtensionPtr create(const CACX509V3Extension& ext); 00038 CPKIFX509ExtensionPtr create(bool criticality, const CPKIFBufferPtr& ext); 00039 const char* refOID(); 00040 00041 private: 00043 CPKIFAuthorityKeyIdentifierFactory(const CPKIFAuthorityKeyIdentifierFactory& ext); //added 4/6/2004 00045 CPKIFAuthorityKeyIdentifierFactory& operator=(const CPKIFAuthorityKeyIdentifierFactory& rhs); //added 4/6/2004 00046 }; 00047 DECLARE_SMART_POINTERS(CPKIFAuthorityKeyIdentifierFactory); 00048 00049 #endif