From a16b33031c7bcf2eabf1e0c3571000234b7740df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 24 Jan 2021 22:46:48 +0100 Subject: Attach service --- src/pubkey.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pubkey.h') diff --git a/src/pubkey.h b/src/pubkey.h index ef7e322..5cb693b 100644 --- a/src/pubkey.h +++ b/src/pubkey.h @@ -34,6 +34,9 @@ public: static SecretKey generate(const Storage & st); static optional load(const Stored & st); + static optional fromData(const Stored &, const vector &); + vector getData() const; + Stored pub() const { return pub_; } template -- cgit v1.2.3