IBR-DTNSuite
0.8
|
This class represents an event that is thrown if the Initialization of the SecurityCertificateManager succeeded. More...
#include <SecurityCertificateManager.h>
Public Member Functions | |
virtual | ~CertificateManagerInitEvent () |
virtual const std::string | getName () const |
virtual std::string | toString () const |
Static Public Member Functions | |
static void | raise (X509 *certificate, EVP_PKEY *privateKey, const ibrcommon::File &trustedCAPath) |
this function raises a new CertificateManagerInitEvent | |
Public Attributes | |
X509 *const | certificate |
EVP_PKEY *const | privateKey |
const ibrcommon::File | trustedCAPath |
Static Public Attributes | |
static const std::string | className = "CertificateManagerInitEvent" |
This class represents an event that is thrown if the Initialization of the SecurityCertificateManager succeeded.
Definition at line 29 of file SecurityCertificateManager.h.
Definition at line 19 of file CertificateManagerInitEvent.cpp.
const std::string dtn::security::CertificateManagerInitEvent::getName | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 24 of file CertificateManagerInitEvent.cpp.
void dtn::security::CertificateManagerInitEvent::raise | ( | X509 * | certificate, |
EVP_PKEY * | privateKey, | ||
const ibrcommon::File & | trustedCAPath | ||
) | [static] |
this function raises a new CertificateManagerInitEvent
certificate | the X509 certificate, the manager was initialized with |
privateKey | the private key |
trustedCAPath | directory with trusted certificates |
Definition at line 38 of file CertificateManagerInitEvent.cpp.
References dtn::core::Event::raiseEvent().
Referenced by dtn::security::SecurityCertificateManager::startup().
std::string dtn::security::CertificateManagerInitEvent::toString | ( | ) | const [virtual] |
Implements dtn::core::Event.
Definition at line 30 of file CertificateManagerInitEvent.cpp.
Definition at line 47 of file SecurityCertificateManager.h.
const std::string dtn::security::CertificateManagerInitEvent::className = "CertificateManagerInitEvent" [static] |
Definition at line 37 of file SecurityCertificateManager.h.
Referenced by dtn::security::TLSStreamComponent::initialize(), dtn::security::TLSStreamComponent::raiseEvent(), and dtn::security::TLSStreamComponent::terminate().
EVP_PKEY* const dtn::security::CertificateManagerInitEvent::privateKey |
Definition at line 48 of file SecurityCertificateManager.h.
Definition at line 49 of file SecurityCertificateManager.h.