diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-09 13:14:38 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-08-09 13:14:38 -0700 |
| commit | 4d498b3765695f1b82a2448f0e8efe698b33667d (patch) | |
| tree | 191eb30f716498587808d1789e73d744137b1577 /node/Identity.hpp | |
| parent | bcd05fbdfa7e340ef4df962773bb7c32cf5013c2 (diff) | |
| download | infinitytier-4d498b3765695f1b82a2448f0e8efe698b33667d.tar.gz infinitytier-4d498b3765695f1b82a2448f0e8efe698b33667d.zip | |
Handling of multi-part chunked network configs on the inbound side.
Diffstat (limited to 'node/Identity.hpp')
| -rw-r--r-- | node/Identity.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/node/Identity.hpp b/node/Identity.hpp index 4aa93b87..ef7f2d77 100644 --- a/node/Identity.hpp +++ b/node/Identity.hpp @@ -283,6 +283,11 @@ public: inline bool fromString(const std::string &str) { return fromString(str.c_str()); } /** + * @return C25519 public key + */ + inline const C25519::Public &publicKey() const { return _publicKey; } + + /** * @return True if this identity contains something */ inline operator bool() const throw() { return (_address); } |
