limal-ca-mgm
X509v3CertificateExtensions.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: X509v3CertificateExtensions.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_X509V3_CERTIFICATE_EXTENSION_HPP
23 #define LIMAL_CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP
24 
25 #include <limal/ca-mgm/config.h>
39 #include <blocxx/COWIntrusiveReference.hpp>
40 
41 namespace LIMAL_NAMESPACE {
42 
43 namespace CA_MGM_NAMESPACE {
44 
45  class X509v3CertificateExtsImpl;
46 
51  public:
53  virtual ~X509v3CertificateExts();
54 
55 #ifndef SWIG
56 
58  operator=(const X509v3CertificateExts& extensions);
59 
60 #endif
61 
63  getNsBaseUrl() const;
64 
66  getNsRevocationUrl() const;
67 
69  getNsCaRevocationUrl() const;
70 
72  getNsRenewalUrl() const;
73 
75  getNsCaPolicyUrl() const;
76 
78  getNsSslServerName() const;
79 
81  getNsComment() const;
82 
84  getNsCertType() const;
85 
87  getKeyUsage() const;
88 
90  getBasicConstraints() const;
91 
93  getExtendedKeyUsage() const;
94 
96  getSubjectKeyIdentifier() const;
97 
99  getAuthorityKeyIdentifier() const;
100 
102  getSubjectAlternativeName() const;
103 
105  getIssuerAlternativeName() const;
106 
108  getAuthorityInfoAccess() const;
109 
111  getCRLDistributionPoints() const;
112 
114  getCertificatePolicies() const;
115 
116  virtual bool
117  valid() const;
118 
119  virtual blocxx::StringArray
120  verify() const;
121 
122  virtual blocxx::StringArray
123  dump() const;
124 
125  protected:
126  blocxx::COWIntrusiveReference<X509v3CertificateExtsImpl> m_impl;
127 
129 
130  };
131 
132 }
133 }
134 
135 #endif // LIMAL_CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP