libcamgm
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
ca-mgm
AuthorityKeyIdentifierExtension.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: AuthorityKeyIdentifierExtension.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_AUTHORITY_KEY_IDENTIFIER_EXTENSION_HPP
23
#define CA_MGM_AUTHORITY_KEY_IDENTIFIER_EXTENSION_HPP
24
25
#include <ca-mgm/config.h>
26
#include <
ca-mgm/CommonData.hpp
>
27
#include <
ca-mgm/ExtensionBase.hpp
>
28
#include <
ca-mgm/PtrTypes.hpp
>
29
30
namespace
CA_MGM_NAMESPACE {
31
32
class
AuthorityKeyIdentifierExtImpl;
33
34
class
AuthorityKeyIdentifierExt
:
public
ExtensionBase
{
35
public
:
36
37
AuthorityKeyIdentifierExt
();
38
AuthorityKeyIdentifierExt
(
const
AuthorityKeyIdentifierExt
& extension);
39
virtual
~
AuthorityKeyIdentifierExt
();
40
41
#ifndef SWIG
42
43
AuthorityKeyIdentifierExt
&
44
operator=(
const
AuthorityKeyIdentifierExt
& extension);
45
46
#endif
47
51
std::string
52
getKeyID()
const
;
53
57
std::string
58
getDirName()
const
;
59
63
std::string
64
getSerial()
const
;
65
71
virtual
bool
72
valid()
const
;
73
81
virtual
std::vector<std::string>
82
verify()
const
;
83
87
virtual
std::vector<std::string>
88
dump()
const
;
89
90
protected
:
91
ca_mgm::RWCOW_pointer<AuthorityKeyIdentifierExtImpl>
m_impl
;
92
93
void
94
setKeyID(
const
std::string& kid);
95
96
void
97
setDirName(
const
std::string& dirName);
98
99
void
100
setSerial(
const
std::string& serial);
101
102
private
:
103
virtual
void
commit2Config(
CA
& ca,
Type
type)
const
;
104
};
105
106
}
107
108
#endif // CA_MGM_AUTHORITY_KEY_IDENTIFIER_EXTENSION_HPP
Generated by
1.8.2