libdigidocpp
|
#include <MSX509CertStore.h>
Public Member Functions | |
MSX509CertStore () throw (IOException) | |
![]() | |
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 void | init (X509CertStore *impl=0) |
static void | destroy () |
static X509CertStore * | getInstance () throw (IOException) |
Implementation of X.509 certificate store, which loads the certificates from the Microsoft CertSotre.
Definition at line 30 of file MSX509CertStore.h.
MSX509CertStore::MSX509CertStore | ( | ) | throw (IOException) |
Loads all certificates from system store and adds these to the certificate store.
IOException | exception is throws if failed to open certstore |
Definition at line 36 of file MSX509CertStore.cpp.
References digidoc::X509CertStore::d, INFO, and loadCerts().
|
private |
Load all certificates found in CertStore and adds these to the cert store.
provider | name. |
IOException | exception is throws if failed open CertStore. |
Definition at line 49 of file MSX509CertStore.cpp.
References THROW_IOEXCEPTION, and WARN.
Referenced by MSX509CertStore().