summaryrefslogtreecommitdiff
path: root/src/identity.h
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2020-01-27 21:25:39 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2020-02-05 21:02:08 +0100
commitab86a1f0c3b86050e65fc5b7ac1e88a00f0d228c (patch)
tree24f1b79bc9a90846bca31203b306eb4c60a055c1 /src/identity.h
parentec402bfaa90cdb52276f5ccc2525e799cb4419d7 (diff)
Encrypted channels
Diffstat (limited to 'src/identity.h')
-rw-r--r--src/identity.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/identity.h b/src/identity.h
index 4335d32..79b335e 100644
--- a/src/identity.h
+++ b/src/identity.h
@@ -29,11 +29,13 @@ public:
vector<Stored<Signed<IdentityData>>> data;
shared_future<optional<string>> name;
optional<Identity> owner;
+ Stored<PublicKey> keyMessage;
static bool verifySignatures(const Stored<Signed<IdentityData>> & sdata);
static shared_ptr<Priv> validate(const vector<Stored<Signed<IdentityData>>> & sdata);
- optional<Stored<IdentityData>> lookupProperty(
- function<bool(const IdentityData &)> sel) const;
+ static optional<Stored<IdentityData>> lookupProperty(
+ const vector<Stored<Signed<IdentityData>>> & data,
+ function<bool(const IdentityData &)> sel);
};
class Identity::Builder::Priv