mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
GetIdentity for RoutingDestination
This commit is contained in:
parent
00bbb81375
commit
5aa53eee43
3 changed files with 6 additions and 5 deletions
|
@ -186,9 +186,11 @@ namespace data
|
|||
RoutingDestination () {};
|
||||
virtual ~RoutingDestination () {};
|
||||
|
||||
virtual const IdentHash& GetIdentHash () const = 0;
|
||||
virtual std::shared_ptr<const IdentityEx> GetIdentity () const = 0;
|
||||
virtual const uint8_t * GetEncryptionPublicKey () const = 0;
|
||||
virtual bool IsDestination () const = 0; // for garlic
|
||||
|
||||
const IdentHash& GetIdentHash () const { return GetIdentity ()->GetIdentHash (); };
|
||||
};
|
||||
|
||||
class LocalDestination
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue