summaryrefslogtreecommitdiff
path: root/src/identity.h
diff options
context:
space:
mode:
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