libdigidocpp
digidoc::MSX509CertStore Class Reference

#include <MSX509CertStore.h>

Inheritance diagram for digidoc::MSX509CertStore:
Inheritance graph
Collaboration diagram for digidoc::MSX509CertStore:
Collaboration graph

Public Member Functions

 MSX509CertStore () throw (IOException)
- Public Member Functions inherited from digidoc::X509CertStore
virtual ~X509CertStore ()
virtual X509_STORE * getCertStore () const throw (IOException)
virtual STACK_OF (X509)*getCerts() const throw (IOException)
virtual X509 * getCert (const X509_NAME *subject) const throw (IOException)

Private Member Functions

void loadCerts (const std::string &provider) throw (IOException)

Additional Inherited Members

- Static Public Member Functions inherited from digidoc::X509CertStore
static void init (X509CertStore *impl=0)
static void destroy ()
static X509CertStoregetInstance () throw (IOException)

Detailed Description

Implementation of X.509 certificate store, which loads the certificates from the Microsoft CertSotre.

Definition at line 30 of file MSX509CertStore.h.

Constructor & Destructor Documentation

MSX509CertStore::MSX509CertStore ( ) throw (IOException)

Loads all certificates from system store and adds these to the certificate store.

Exceptions
IOExceptionexception is throws if failed to open certstore

Definition at line 36 of file MSX509CertStore.cpp.

References digidoc::X509CertStore::d, INFO, and loadCerts().

Here is the call graph for this function:

Member Function Documentation

void MSX509CertStore::loadCerts ( const std::string &  provider) throw (IOException)
private

Load all certificates found in CertStore and adds these to the cert store.

Parameters
providername.
Exceptions
IOExceptionexception is throws if failed open CertStore.

Definition at line 49 of file MSX509CertStore.cpp.

References THROW_IOEXCEPTION, and WARN.

Referenced by MSX509CertStore().

Here is the caller graph for this function:


The documentation for this class was generated from the following files: