00001 /*---------------------------------------------------------------------\ 00002 | | 00003 | _ _ _ _ __ _ | 00004 | | | | | | \_/ | / \ | | | 00005 | | | | | | |_| | / /\ \ | | | 00006 | | |__ | | | | | | / ____ \ | |__ | 00007 | |____||_| |_| |_|/ / \ \|____| | 00008 | | 00009 | ca-mgm library | 00010 | | 00011 | (C) SUSE Linux Products GmbH | 00012 \----------------------------------------------------------------------/ 00013 00014 File: CRLDistributionPointsExtension.hpp 00015 00016 Author: <Michael Calmer> <mc@suse.de> 00017 Maintainer: <Michael Calmer> <mc@suse.de> 00018 00019 Purpose: 00020 00021 /-*/ 00022 #ifndef LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP 00023 #define LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP 00024 00025 #include <limal/ca-mgm/config.h> 00026 #include <limal/ca-mgm/CommonData.hpp> 00027 #include <limal/ca-mgm/ExtensionBase.hpp> 00028 #include <limal/ca-mgm/LiteralValues.hpp> 00029 #include <blocxx/COWIntrusiveReference.hpp> 00030 00031 namespace LIMAL_NAMESPACE { 00032 00033 namespace CA_MGM_NAMESPACE { 00034 00035 class CA; 00036 class CAConfig; 00037 class CRLDistributionPointsExtImpl; 00038 00039 class CRLDistributionPointsExt : public ExtensionBase 00040 { 00041 public: 00042 CRLDistributionPointsExt(); 00043 CRLDistributionPointsExt(CAConfig* caConfig, Type type); 00044 CRLDistributionPointsExt(const CRLDistributionPointsExt& extension); 00045 virtual ~CRLDistributionPointsExt(); 00046 00047 #ifndef SWIG 00048 00049 CRLDistributionPointsExt& 00050 operator=(const CRLDistributionPointsExt& extension); 00051 00052 #endif 00053 00054 void 00055 setCRLDistributionPoints(blocxx::List<LiteralValue>); 00056 00057 blocxx::List<LiteralValue> 00058 getCRLDistributionPoints() const; 00059 00060 virtual void 00061 commit2Config(CA& ca, Type type) const; 00062 00063 virtual bool 00064 valid() const; 00065 00066 virtual blocxx::StringArray 00067 verify() const; 00068 00069 virtual blocxx::StringArray 00070 dump() const; 00071 00072 private: 00073 blocxx::COWIntrusiveReference<CRLDistributionPointsExtImpl> m_impl; 00074 00075 }; 00076 00077 } 00078 } 00079 00080 #endif // LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP