#pragma once #include "ICmd.h" namespace bts { namespace crypto { class PublicKey; } namespace config { class EncryptedKeyCode; class KeyCode; } namespace cmd { bool decrypt(const bts::crypto::PublicKey& public_key, const bts::config::EncryptedKeyCode& kc, bts::config::KeyCode* dk); class KeyCode : public ICmd { public: enum class PublicPrivate {Public, Private}; int execute(std::vector const &args); std::string help(); static std::string helpstr(); }; }}