libcamgm
X509v3CRLGenerationExtensions.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: X509v3CRLGenerationExtensions.hpp
15 
16  Author: <Michael Calmer> <mc@suse.de>
17  Maintainer: <Michael Calmer> <mc@suse.de>
18 
19  Purpose:
20 
21 /-*/
22 
23 #ifndef CA_MGM_X509V3_CRL_GENERATION_EXTENSIONS_HPP
24 #define CA_MGM_X509V3_CRL_GENERATION_EXTENSIONS_HPP
25 
26 #include <ca-mgm/config.h>
27 #include <ca-mgm/CommonData.hpp>
30 #include <ca-mgm/PtrTypes.hpp>
31 
32 namespace CA_MGM_NAMESPACE
33 {
34 
35  class CA;
36  class CAConfig;
37  class X509v3CRLGenerationExtsImpl;
38 
45  public:
47  X509v3CRLGenerationExts(CAConfig* caConfig, Type type);
49  virtual ~X509v3CRLGenerationExts();
50 
51 #ifndef SWIG
52 
54  operator=(const X509v3CRLGenerationExts& extension);
55 
56 #endif
57 
58  void
59  setAuthorityKeyIdentifier(const AuthorityKeyIdentifierGenerateExt &ext);
60 
62  getAuthorityKeyIdentifier() const;
63 
65  authorityKeyIdentifier();
66 
67  void
68  setIssuerAlternativeName(const IssuerAlternativeNameExt &ext);
69 
71  getIssuerAlternativeName() const;
72 
74  issuerAlternativeName();
75 
76  void
77  commit2Config(CA& ca, Type type) const;
78 
79  virtual bool
80  valid() const;
81 
82  virtual std::vector<std::string>
83  verify() const;
84 
85  virtual std::vector<std::string>
86  dump() const;
87 
88  private:
90 
91  };
92 }
93 #endif //CA_MGM_X509V3_CRL_GENERATION_EXTENSIONS_HPP
Collection of X509v3 extension for generating CRLs.
Definition: X509v3CRLGenerationExtensions.hpp:44
Definition: AuthorityKeyIdentifierGenerateExtension.hpp:42
Managing a CA repository.
Definition: CA.hpp:54
Definition: CAConfig.hpp:43
Definition: IssuerAlternativeNameExtension.hpp:38
Type
Definition: CommonData.hpp:39
ca_mgm::RWCOW_pointer< X509v3CRLGenerationExtsImpl > m_impl
Definition: X509v3CRLGenerationExtensions.hpp:89