diff options
Diffstat (limited to 'src/identity.h')
-rw-r--r-- | src/identity.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/identity.h b/src/identity.h index d31951f..4335d32 100644 --- a/src/identity.h +++ b/src/identity.h @@ -14,6 +14,7 @@ class IdentityData { public: static optional<IdentityData> load(const Ref &); + Ref store(const Storage & st) const; const vector<Stored<Signed<IdentityData>>> prev; const optional<string> name; @@ -35,4 +36,15 @@ public: function<bool(const IdentityData &)> sel) const; }; +class Identity::Builder::Priv +{ +public: + Storage storage; + vector<Stored<Signed<IdentityData>>> prev = {}; + optional<string> name = nullopt; + optional<Identity> owner = nullopt; + Stored<PublicKey> keyIdentity; + optional<Stored<PublicKey>> keyMessage; +}; + } |