mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
common Identity for LeaseSet and RouterInfo
This commit is contained in:
parent
6f1d4f4300
commit
d714d7fe6c
9 changed files with 105 additions and 28 deletions
|
@ -22,7 +22,7 @@ namespace i2p
|
|||
const uint8_t * GetSigningPrivateKey () const;
|
||||
const uint8_t * GetLeaseSetPrivateKey () const { return m_LeaseSetPrivateKey; };
|
||||
const uint8_t * GetLeaseSetPublicKey () const { return m_LeaseSetPublicKey; };
|
||||
const i2p::data::RouterIdentity& GetRouterIdentity () const { return m_RouterInfo.GetRouterIdentity (); };
|
||||
const i2p::data::Identity& GetRouterIdentity () const { return m_RouterInfo.GetRouterIdentity (); };
|
||||
CryptoPP::RandomNumberGenerator& GetRandomNumberGenerator () { return m_Rnd; };
|
||||
|
||||
void Sign (uint8_t * buf, int len, uint8_t * signature);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue