5 #include <Poco/Crypto/RSAKey.h>
6 #include <Poco/Net/X509Certificate.h>
7 #include <Poco/Nullable.h>
8 #include <Poco/SharedPtr.h>
10 #include "model/GatewayID.h"
11 #include "util/Loggable.h"
20 typedef Poco::SharedPtr<GatewayInfo> Ptr;
33 static std::string version();
34 Poco::SharedPtr<Poco::Net::X509Certificate> certificate()
const;
36 void setCertPath(
const std::string &path);
37 void setKeyPath(
const std::string &path);
54 Poco::Nullable<GatewayID> m_gatewayID;
55 Poco::SharedPtr<Poco::Net::X509Certificate> m_certificate;
56 Poco::SharedPtr<Poco::Crypto::RSAKey> m_privateKey;
58 std::string m_certPath;
59 std::string m_keyPath;
void setGatewayID(const std::string &gatewayID)
Definition: GatewayInfo.cpp:40
void loadCertificate()
Definition: GatewayInfo.cpp:76
GatewayInfo()
Definition: GatewayInfo.cpp:26
Definition: Loggable.h:19
Class for storing basic information about gateway.
Definition: GatewayInfo.h:18
void loadPrivateKey()
Definition: GatewayInfo.cpp:100
Definition: GatewayID.h:14