summaryrefslogtreecommitdiff
path: root/node/Identity.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-09 13:14:38 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2016-08-09 13:14:38 -0700
commit4d498b3765695f1b82a2448f0e8efe698b33667d (patch)
tree191eb30f716498587808d1789e73d744137b1577 /node/Identity.hpp
parentbcd05fbdfa7e340ef4df962773bb7c32cf5013c2 (diff)
downloadinfinitytier-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.hpp5
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); }