diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-03-13 06:26:06 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 5a8727e34b938b70623ca865273fd81c7604b461 (patch) | |
tree | a2921e90aa454072dc58fced36b508f67f5d1226 /include/LocalUser.hpp | |
parent | 9ffc25c9d99fe86d4789108d1d8615ecb0388cc6 (diff) |
Expose include dir
Diffstat (limited to 'include/LocalUser.hpp')
-rw-r--r-- | include/LocalUser.hpp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/include/LocalUser.hpp b/include/LocalUser.hpp deleted file mode 100644 index d60cb38..0000000 --- a/include/LocalUser.hpp +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include "User.hpp" - -namespace odhtdb -{ - class LocalUser : public User - { - public: - static LocalUser* create(const Signature::KeyPair &keyPair, const std::string &name, Group *group) - { - return new LocalUser(keyPair, name, group); - } - - const Signature::PublicKey& getPublicKey() const override - { - return keyPair.getPublicKey(); - } - - const Signature::PrivateKey& getPrivateKey() const - { - return keyPair.getPrivateKey(); - } - private: - LocalUser(const Signature::KeyPair &_keyPair, const std::string &name, Group *group) : User(name, group), keyPair(_keyPair) {} - private: - Signature::KeyPair keyPair; - }; -} |