00001 00009 #ifndef __CertificateIssuer_H__ 00010 #define __CertificateIssuer_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 // forward declaration 00025 struct CPKIFCertificateIssuerImpl; 00026 00027 FD_LIST_PTR(CPKIFGeneralName); 00028 00044 class CAC_API CPKIFCertificateIssuer : public CPKIFX509Extension 00045 { 00046 public: 00047 CPKIFCertificateIssuer(); 00048 //CPKIFCertificateIssuer(const CACX509V3Extension& ext); 00049 CPKIFCertificateIssuer(const bool& criticality, const CPKIFBufferPtr& ext); 00050 virtual ~CPKIFCertificateIssuer(); 00055 static char extOID[]; 00056 const CPKIFOIDPtr oid() const; 00057 00058 CPKIFBufferPtr value() const; 00059 void CertificateIssuer(CPKIFGeneralNameList& gns); 00060 00061 private: 00062 CPKIFCertificateIssuer(const CPKIFCertificateIssuer& ext); 00063 CPKIFCertificateIssuer& operator=(const CPKIFCertificateIssuer& rhs); //added 4/6/2004 00064 00065 struct CPKIFCertificateIssuerImpl *m_impl; 00066 }; 00067 DECLARE_SMART_POINTERS(CPKIFCertificateIssuer); 00068 #endif