libdigidocpp
Main Page
Namespaces
Classes
Files
File List
File Members
X509CertStore.h
Go to the documentation of this file.
1
/*
2
* libdigidocpp
3
*
4
* This library is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this library; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
*
18
*/
19
20
#pragma once
21
22
#include "
X509Cert.h
"
23
24
namespace
digidoc
25
{
29
class
X509CertStorePrivate;
30
class
EXP_DIGIDOC
X509CertStore
31
{
32
public
:
33
virtual
~
X509CertStore
();
34
static
void
init(
X509CertStore
*impl = 0);
35
static
void
destroy();
36
static
X509CertStore
* getInstance()
throw
(
IOException
);
37
38
virtual
X509_STORE* getCertStore()
const
throw
(
IOException
);
39
virtual
STACK_OF
(X509)* getCerts()
const
throw
(
IOException
);
40
virtual
X509* getCert(
const
X509_NAME *subject)
const
throw
(
IOException
);
41
virtual
STACK_OF
(X509)* findCerts(
const
std::string &obj,
const
std::string &name)
const
throw
(
IOException
);
42
43
private
:
44
X509CertStore
();
45
46
static
X509CertStore
*
INSTANCE
;
47
X509CertStorePrivate
*
d
;
48
49
friend
class
DirectoryX509CertStore
;
50
friend
class
MSX509CertStore
;
51
friend
class
MACX509CertStore
;
52
};
53
}
src
crypto
cert
X509CertStore.h
Generated on Wed Feb 6 2013 08:42:11 for libdigidocpp by
1.8.1.2