00001 00009 #ifndef __SECURITYCATEGORY_H__ 00010 #define __SECURITYCATEGORY_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 00022 // forward declaration 00023 struct CPKIFSecurityCategoryImpl; 00024 00025 00040 class CAC_API CPKIFSecurityCategory 00041 { 00042 public: 00043 CPKIFSecurityCategory(); 00044 CPKIFSecurityCategory(const CPKIFBufferPtr& ext); 00045 virtual ~CPKIFSecurityCategory(); 00046 00047 00048 const CPKIFOIDPtr GetType() const; 00049 const CPKIFBufferPtr GetValue() const; 00050 00051 private: 00053 CPKIFSecurityCategory(const CPKIFSecurityCategory& ext); 00055 CPKIFSecurityCategory& operator=(const CPKIFSecurityCategory& rhs); 00056 00057 struct CPKIFSecurityCategoryImpl *m_impl; 00058 }; 00059 DECLARE_SMART_POINTERS(CPKIFSecurityCategory); 00060 00061 typedef std::vector<CPKIFSecurityCategoryPtr, PKIFAlloc<CPKIFSecurityCategoryPtr> > CPKIFSecurityCategoryList; 00062 DECLARE_SMART_POINTERS(CPKIFSecurityCategoryList); 00063 00064 00065 #endif //__SECURITYCATEGORY_H__