libcamgm
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 CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP
23 #define CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP
24 
25 #include <ca-mgm/config.h>
26 #include <ca-mgm/CommonData.hpp>
28 #include <ca-mgm/BitExtensions.hpp>
39 #include <ca-mgm/PtrTypes.hpp>
40 
41 namespace CA_MGM_NAMESPACE {
42 
43  class X509v3CertificateExtsImpl;
44 
49  public:
51  virtual ~X509v3CertificateExts();
52 
53 #ifndef SWIG
54 
56  operator=(const X509v3CertificateExts& extensions);
57 
58 #endif
59 
61  getNsBaseUrl() const;
62 
64  getNsRevocationUrl() const;
65 
67  getNsCaRevocationUrl() const;
68 
70  getNsRenewalUrl() const;
71 
73  getNsCaPolicyUrl() const;
74 
76  getNsSslServerName() const;
77 
79  getNsComment() const;
80 
82  getNsCertType() const;
83 
85  getKeyUsage() const;
86 
88  getBasicConstraints() const;
89 
91  getExtendedKeyUsage() const;
92 
94  getSubjectKeyIdentifier() const;
95 
97  getAuthorityKeyIdentifier() const;
98 
100  getSubjectAlternativeName() const;
101 
103  getIssuerAlternativeName() const;
104 
106  getAuthorityInfoAccess() const;
107 
109  getCRLDistributionPoints() const;
110 
112  getCertificatePolicies() const;
113 
114  virtual bool
115  valid() const;
116 
117  virtual std::vector<std::string>
118  verify() const;
119 
120  virtual std::vector<std::string>
121  dump() const;
122 
123  protected:
125 
127 
128  };
129 
130 }
131 
132 #endif // CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP
Definition: SubjectAlternativeNameExtension.hpp:37
Definition: ExtendedKeyUsageExt.hpp:42
Read-only data representation of X509 V3 Certificate Extensions.
Definition: X509v3CertificateExtensions.hpp:48
Definition: SubjectKeyIdentifierExtension.hpp:36
Definition: StringExtensions.hpp:112
Definition: StringExtensions.hpp:87
Definition: StringExtensions.hpp:137
Definition: StringExtensions.hpp:161
Definition: BitExtensions.hpp:73
Definition: IssuerAlternativeNameExtension.hpp:38
Definition: CertificatePoliciesExtension.hpp:164
Definition: BasicConstraintsExtension.hpp:42
Definition: CRLDistributionPointsExtension.hpp:37
Definition: AuthorityKeyIdentifierExtension.hpp:34
Definition: StringExtensions.hpp:209
Definition: BitExtensions.hpp:155
Definition: StringExtensions.hpp:62
ca_mgm::RWCOW_pointer< X509v3CertificateExtsImpl > m_impl
Definition: X509v3CertificateExtensions.hpp:124
Definition: AuthorityInfoAccessExtension.hpp:159
Definition: StringExtensions.hpp:185