summaryrefslogtreecommitdiff
path: root/src/identity.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity.cpp')
-rw-r--r--src/identity.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/identity.cpp b/src/identity.cpp
index d7dd1f9..fe4cf53 100644
--- a/src/identity.cpp
+++ b/src/identity.cpp
@@ -60,6 +60,11 @@ const Identity & Identity::finalOwner() const
return *this;
}
+Stored<PublicKey> Identity::keyIdentity() const
+{
+ return p->data[0]->data->keyIdentity;
+}
+
Stored<PublicKey> Identity::keyMessage() const
{
return p->keyMessage;