libcamgm
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
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 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
>
27
#include <
ca-mgm/StringExtensions.hpp
>
28
#include <
ca-mgm/BitExtensions.hpp
>
29
#include <
ca-mgm/ExtendedKeyUsageExt.hpp
>
30
#include <
ca-mgm/BasicConstraintsExtension.hpp
>
31
#include <
ca-mgm/SubjectKeyIdentifierExtension.hpp
>
32
#include <
ca-mgm/SubjectKeyIdentifierExtension.hpp
>
33
#include <
ca-mgm/AuthorityKeyIdentifierExtension.hpp
>
34
#include <
ca-mgm/SubjectAlternativeNameExtension.hpp
>
35
#include <
ca-mgm/IssuerAlternativeNameExtension.hpp
>
36
#include <
ca-mgm/AuthorityInfoAccessExtension.hpp
>
37
#include <
ca-mgm/CRLDistributionPointsExtension.hpp
>
38
#include <
ca-mgm/CertificatePoliciesExtension.hpp
>
39
#include <
ca-mgm/PtrTypes.hpp
>
40
41
namespace
CA_MGM_NAMESPACE {
42
43
class
X509v3CertificateExtsImpl;
44
48
class
X509v3CertificateExts
{
49
public
:
50
X509v3CertificateExts
(
const
X509v3CertificateExts
& extensions);
51
virtual
~
X509v3CertificateExts
();
52
53
#ifndef SWIG
54
55
X509v3CertificateExts
&
56
operator=(
const
X509v3CertificateExts
& extensions);
57
58
#endif
59
60
NsBaseUrlExt
61
getNsBaseUrl()
const
;
62
63
NsRevocationUrlExt
64
getNsRevocationUrl()
const
;
65
66
NsCaRevocationUrlExt
67
getNsCaRevocationUrl()
const
;
68
69
NsRenewalUrlExt
70
getNsRenewalUrl()
const
;
71
72
NsCaPolicyUrlExt
73
getNsCaPolicyUrl()
const
;
74
75
NsSslServerNameExt
76
getNsSslServerName()
const
;
77
78
NsCommentExt
79
getNsComment()
const
;
80
81
NsCertTypeExt
82
getNsCertType()
const
;
83
84
KeyUsageExt
85
getKeyUsage()
const
;
86
87
BasicConstraintsExt
88
getBasicConstraints()
const
;
89
90
ExtendedKeyUsageExt
91
getExtendedKeyUsage()
const
;
92
93
SubjectKeyIdentifierExt
94
getSubjectKeyIdentifier()
const
;
95
96
AuthorityKeyIdentifierExt
97
getAuthorityKeyIdentifier()
const
;
98
99
SubjectAlternativeNameExt
100
getSubjectAlternativeName()
const
;
101
102
IssuerAlternativeNameExt
103
getIssuerAlternativeName()
const
;
104
105
AuthorityInfoAccessExt
106
getAuthorityInfoAccess()
const
;
107
108
CRLDistributionPointsExt
109
getCRLDistributionPoints()
const
;
110
111
CertificatePoliciesExt
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
:
124
ca_mgm::RWCOW_pointer<X509v3CertificateExtsImpl>
m_impl
;
125
126
X509v3CertificateExts
();
127
128
};
129
130
}
131
132
#endif // CA_MGM_X509V3_CERTIFICATE_EXTENSION_HPP
Generated by
1.8.2