Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #include "SecurityCertificateManager.h"
00009
00010 namespace dtn {
00011
00012 namespace security {
00013
00014 CertificateManagerInitEvent::CertificateManagerInitEvent(X509 * certificate, EVP_PKEY * privateKey, const ibrcommon::File &trustedCAPath)
00015 : certificate(certificate), privateKey(privateKey), trustedCAPath(trustedCAPath)
00016 {
00017 }
00018
00019 CertificateManagerInitEvent::~CertificateManagerInitEvent()
00020 {
00021 }
00022
00023 const std::string
00024 CertificateManagerInitEvent::getName() const
00025 {
00026 return CertificateManagerInitEvent::className;
00027 }
00028
00029 std::string
00030 CertificateManagerInitEvent::toString() const
00031 {
00032 return getName();
00033 }
00034
00035 const std::string CertificateManagerInitEvent::className = "CertificateManagerInitEvent";
00036
00037 void
00038 CertificateManagerInitEvent::raise(X509 * certificate, EVP_PKEY * privateKey, const ibrcommon::File &trustedCAPath)
00039 {
00040 dtn::core::Event::raiseEvent( new CertificateManagerInitEvent(certificate, privateKey, trustedCAPath) );
00041 }
00042
00043 }
00044
00045 }