limal-ca-mgm
CRLDistributionPointsExtension.hpp
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | |
3 | _ _ _ _ __ _ |
4 | | | | | | \_/ | / \ | | |
5 | | | | | | |_| | / /\ \ | | |
6 | | |__ | | | | | | / ____ \ | |__ |
7 | |____||_| |_| |_|/ / \ \|____| |
8 | |
9 | ca-mgm library |
10 | |
11 | (C) SUSE Linux Products GmbH |
12 \----------------------------------------------------------------------/
13 
14  File: CRLDistributionPointsExtension.hpp
15 
16  Author: <Michael Calmer> <mc@suse.de>
17  Maintainer: <Michael Calmer> <mc@suse.de>
18 
19  Purpose:
20 
21 /-*/
22 #ifndef LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP
23 #define LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP
24 
25 #include <limal/ca-mgm/config.h>
29 #include <blocxx/COWIntrusiveReference.hpp>
30 
31 namespace LIMAL_NAMESPACE {
32 
33 namespace CA_MGM_NAMESPACE {
34 
35  class CA;
36  class CAConfig;
37  class CRLDistributionPointsExtImpl;
38 
40  {
41  public:
43  CRLDistributionPointsExt(CAConfig* caConfig, Type type);
45  virtual ~CRLDistributionPointsExt();
46 
47 #ifndef SWIG
48 
50  operator=(const CRLDistributionPointsExt& extension);
51 
52 #endif
53 
54  void
55  setCRLDistributionPoints(blocxx::List<LiteralValue>);
56 
57  blocxx::List<LiteralValue>
58  getCRLDistributionPoints() const;
59 
60  virtual void
61  commit2Config(CA& ca, Type type) const;
62 
63  virtual bool
64  valid() const;
65 
66  virtual blocxx::StringArray
67  verify() const;
68 
69  virtual blocxx::StringArray
70  dump() const;
71 
72  private:
73  blocxx::COWIntrusiveReference<CRLDistributionPointsExtImpl> m_impl;
74 
75  };
76 
77 }
78 }
79 
80 #endif // LIMAL_CA_MGM_CRL_DISTRIBUTION_POINTS_EXTENSION_HPP