70 void xor_with_key_stream(const
crypto::chacha_key &
key);
98 bool load(
const std::string& file_path);
99 bool store(
const std::string& file_path);
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;
uint64_t get_createtime() const
void finalize_multisig(const crypto::public_key &spend_public_key)
void encrypt_viewkey(const crypto::chacha_key &key)
std::string get_public_address_str(network_type nettype) const
bool make_multisig(const crypto::secret_key &view_secret_key, const crypto::secret_key &spend_secret_key, const crypto::public_key &spend_public_key, const std::vector< crypto::secret_key > &multisig_keys)
void create_from_viewkey(const cryptonote::account_public_address &address, const crypto::secret_key &viewkey)
void serialize(t_archive &a, const unsigned int)
void decrypt_viewkey(const crypto::chacha_key &key)
crypto::secret_key generate(const crypto::secret_key &recovery_key=crypto::secret_key(), bool recover=false, bool two_random=false)
void set_device(hw::device &hwdev)
bool store(const std::string &file_path)
void create_from_keys(const cryptonote::account_public_address &address, const crypto::secret_key &spendkey, const crypto::secret_key &viewkey)
void encrypt_keys(const crypto::chacha_key &key)
void decrypt_keys(const crypto::chacha_key &key)
void create_from_device(const std::string &device_name)
void set_createtime(uint64_t val)
const account_keys & get_keys() const
const std::vector< crypto::secret_key > & get_multisig_keys() const
std::string get_public_integrated_address_str(const crypto::hash8 &payment_id, network_type nettype) const
bool load(const std::string &file_path)
hw::device & get_device() 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()
epee::mlocked< tools::scrubbed< ec_scalar > > secret_key
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)