|
|
|
@ -65,8 +65,8 @@ namespace client
@@ -65,8 +65,8 @@ namespace client
|
|
|
|
|
std::shared_ptr<ClientDestination> CreateNewLocalDestination (bool isPublic = false, i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_DSA_SHA1, |
|
|
|
|
const std::map<std::string, std::string> * params = nullptr); // transient
|
|
|
|
|
std::shared_ptr<ClientDestination> CreateNewLocalDestination (const i2p::data::PrivateKeys& keys, bool isPublic = true, |
|
|
|
|
const std::map<std::string, std::string> * params = nullptr); |
|
|
|
|
std::shared_ptr<ClientDestination> CreateNewMatchedTunnelDestination(const i2p::data::PrivateKeys &keys, const std::string & name, const std::map<std::string, std::string> * params = nullptr); |
|
|
|
|
const std::map<std::string, std::string> * params = nullptr); |
|
|
|
|
std::shared_ptr<ClientDestination> CreateNewMatchedTunnelDestination(const i2p::data::PrivateKeys &keys, const std::string & name, const std::map<std::string, std::string> * params = nullptr); |
|
|
|
|
void DeleteLocalDestination (std::shared_ptr<ClientDestination> destination); |
|
|
|
|
std::shared_ptr<ClientDestination> FindLocalDestination (const i2p::data::IdentHash& destination) const; |
|
|
|
|
bool LoadPrivateKeys (i2p::data::PrivateKeys& keys, const std::string& filename, i2p::data::SigningKeyType sigType = i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256); |
|
|
|
|