summaryrefslogtreecommitdiff
path: root/include/erebos/identity.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/erebos/identity.h')
-rw-r--r--include/erebos/identity.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/erebos/identity.h b/include/erebos/identity.h
index d0b60d5..888f162 100644
--- a/include/erebos/identity.h
+++ b/include/erebos/identity.h
@@ -6,6 +6,10 @@
namespace erebos {
using std::optional;
+using std::vector;
+
+template<class T> class Signed;
+struct IdentityData;
class Identity
{
@@ -17,8 +21,10 @@ public:
static std::optional<Identity> load(const Ref &);
static std::optional<Identity> load(const std::vector<Ref> &);
+ static std::optional<Identity> load(const std::vector<Stored<Signed<IdentityData>>> &);
std::vector<Ref> store() const;
std::vector<Ref> store(const Storage & st) const;
+ const vector<Stored<Signed<IdentityData>>> & data() const;
std::optional<std::string> name() const;
std::optional<Identity> owner() const;