|
libdigidocpp
|
#include <MACX509CertStore.h>


Public Member Functions | |
| MACX509CertStore () 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 (unsigned int trustSettings) throw (IOException) |
Additional Inherited Members | |
Static Public Member Functions inherited from digidoc::X509CertStore | |
| 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 Mac KeyChain.
Definition at line 30 of file MACX509CertStore.h.
| MACX509CertStore::MACX509CertStore | ( | ) | throw (IOException) |
Loads all certificates from KeyChain and adds these to the certificate store.
| IOException | exception is throws if failed to open KeyCain |
Definition at line 37 of file MACX509CertStore.cpp.
References digidoc::X509CertStore::d, INFO, and loadCerts().

|
private |
Load all certificates found in KeyChain and adds these to the cert store.
| trustSettings | settings. |
| IOException | exception is throws if failed open KeyChain. |
Definition at line 50 of file MACX509CertStore.cpp.
References certs, i, THROW_IOEXCEPTION, and WARN.
Referenced by MACX509CertStore().
