moved encryption keys from TunnelPool to StreamingDestination

This commit is contained in:
orignal 2014-04-01 18:58:47 -04:00
parent 9f0c0b3b35
commit c600be59b1
6 changed files with 16 additions and 9 deletions

View file

@ -32,7 +32,9 @@ namespace i2p
// implements LocalDestination
void UpdateLeaseSet () {};
const i2p::data::IdentHash& GetIdentHash () const { return m_RouterInfo.GetIdentHash (); };
const uint8_t * GetEncryptionPrivateKey () const { return GetPrivateKey (); };
const uint8_t * GetEncryptionPublicKey () const { return m_Keys.publicKey; };
private:
void CreateNewRouter ();