00001 00009 #ifndef __IssuerAltName_H__ 00010 #define __IssuerAltName_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 #include <vector> 00023 00024 struct CPKIFIssuerAltNameImpl; 00025 FD_LIST_PTR(CPKIFGeneralName); 00026 00042 class CAC_API CPKIFIssuerAltName : public CPKIFX509Extension 00043 { 00044 public: 00045 CPKIFIssuerAltName(); 00046 //CPKIFIssuerAltName(const CACX509V3Extension& ext); 00047 CPKIFIssuerAltName(const bool& criticality, const CPKIFBufferPtr& ext); 00048 virtual ~CPKIFIssuerAltName(); 00049 00050 static char extOID[]; 00051 const CPKIFOIDPtr oid() const; 00052 00053 void GeneralNames(CPKIFGeneralNameList& genNames) const; 00054 CPKIFBufferPtr value() const; 00055 00056 private: 00057 CPKIFIssuerAltName(const CPKIFIssuerAltName& ext); 00058 CPKIFIssuerAltName& operator=(const CPKIFIssuerAltName& rhs); //added 4/6/2004 00059 00060 struct CPKIFIssuerAltNameImpl *m_impl; 00061 }; 00062 DECLARE_SMART_POINTERS(CPKIFIssuerAltName); 00063 #endif