70 void xor_with_key_stream(const
crypto::chacha_key &
key);
81 void create_from_device(
const std::string &device_name);
101 void forget_spend_key();
102 const std::vector<crypto::secret_key> &
get_multisig_keys()
const {
return m_keys.m_multisig_keys; }
109 template <
class t_archive>
113 a & m_creation_timestamp;
hw::device & get_device() const
uint64_t get_createtime() const
void encrypt_viewkey(const crypto::chacha_key &key)
void serialize(t_archive &a, const unsigned int)
void decrypt_viewkey(const crypto::chacha_key &key)
void set_device(hw::device &hwdev)
bool store(const std::string &file_path)
void encrypt_keys(const crypto::chacha_key &key)
void decrypt_keys(const crypto::chacha_key &key)
void set_createtime(uint64_t val)
bool load(const std::string &file_path)
const std::vector< crypto::secret_key > & get_multisig_keys() const
#define KV_SERIALIZE(varialble)
#define KV_SERIALIZE_VAL_POD_AS_BLOB_FORCE(varialble)
#define KV_SERIALIZE_VAL_POD_AS_BLOB_OPT(varialble, def)
#define KV_SERIALIZE_CONTAINER_POD_AS_BLOB(varialble)
#define END_KV_SERIALIZE_MAP()
#define BEGIN_KV_SERIALIZE_MAP()
Holds cryptonote related classes and helpers.
device & get_device(const std::string &device_descriptor)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
unsigned __int64 uint64_t
crypto::secret_key m_view_secret_key
hw::device & get_device() const
crypto::secret_key m_spend_secret_key
crypto::chacha_iv m_encryption_iv
std::vector< crypto::secret_key > m_multisig_keys
account_public_address m_account_address
void encrypt_viewkey(const crypto::chacha_key &key)
const crypto::chacha_iv default_iv
void set_device(hw::device &hwdev)
void decrypt_viewkey(const crypto::chacha_key &key)
void decrypt(const crypto::chacha_key &key)
void encrypt(const crypto::chacha_key &key)