BitShares-Core  7.0.0
BitShares blockchain node software and command-line wallet software
Public Member Functions | Static Public Member Functions | List of all members
fc::ecc::extended_private_key Class Reference

#include <elliptic.hpp>

Inheritance diagram for fc::ecc::extended_private_key:

Public Member Functions

 extended_private_key (const private_key &k, const sha256 &c, int child=0, int parent_fp=0, uint8_t depth=0)
extended_public_key get_extended_public_key () const
extended_private_key derive_child (int i) const
extended_private_key derive_normal_child (int i) const
extended_private_key derive_hardened_child (int i) const
extended_key_data serialize_extended () const
std::string str () const
std::string to_base58 () const
- Public Member Functions inherited from fc::ecc::private_key
 private_key ()
 private_key (private_key &&pk)
 private_key (const private_key &pk)
 ~private_key ()
private_keyoperator= (private_key &&pk)
private_keyoperator= (const private_key &pk)
private_key child (const fc::sha256 &offset) const
private_key_secret get_secret () const
 operator private_key_secret () const
fc::sha512 get_shared_secret (const public_key &pub) const
compact_signature sign_compact (const fc::sha256 &digest, bool require_canonical=true) const
public_key get_public_key () const
unsigned int fingerprint () const

Static Public Member Functions

static extended_private_key deserialize (const extended_key_data &data)
static extended_private_key from_base58 (const std::string &base58)
static extended_private_key generate_master (const std::string &seed)
static extended_private_key generate_master (const char *seed, uint32_t seed_len)
- Static Public Member Functions inherited from fc::ecc::private_key
static private_key generate ()
static private_key regenerate (const fc::sha256 &secret)
static private_key generate_from_seed (const fc::sha256 &seed, const fc::sha256 &offset=fc::sha256())

Detailed Description

Definition at line 168 of file elliptic.hpp.

Constructor & Destructor Documentation

◆ extended_private_key()

fc::ecc::extended_private_key::extended_private_key ( const private_key k,
const sha256 c,
int  child = 0,
int  parent_fp = 0,
uint8_t  depth = 0 

Definition at line 193 of file elliptic_secp256k1.cpp.

Member Function Documentation

◆ derive_child()

extended_private_key fc::ecc::extended_private_key::derive_child ( int  i) const

Definition at line 302 of file elliptic_common.cpp.

◆ derive_hardened_child()

extended_private_key fc::ecc::extended_private_key::derive_hardened_child ( int  i) const

Definition at line 315 of file elliptic_common.cpp.

◆ derive_normal_child()

extended_private_key fc::ecc::extended_private_key::derive_normal_child ( int  i) const

Definition at line 307 of file elliptic_common.cpp.

◆ deserialize()

extended_private_key fc::ecc::extended_private_key::deserialize ( const extended_key_data data)

Definition at line 339 of file elliptic_common.cpp.

◆ from_base58()

extended_private_key fc::ecc::extended_private_key::from_base58 ( const std::string &  base58)

Definition at line 349 of file elliptic_common.cpp.

◆ generate_master() [1/2]

extended_private_key fc::ecc::extended_private_key::generate_master ( const char *  seed,
uint32_t  seed_len 

Definition at line 371 of file elliptic_common.cpp.

◆ generate_master() [2/2]

extended_private_key fc::ecc::extended_private_key::generate_master ( const std::string &  seed)

Definition at line 366 of file elliptic_common.cpp.

◆ get_extended_public_key()

extended_public_key fc::ecc::extended_private_key::get_extended_public_key ( ) const

Definition at line 297 of file elliptic_common.cpp.

◆ serialize_extended()

extended_key_data fc::ecc::extended_private_key::serialize_extended ( ) const

Definition at line 324 of file elliptic_common.cpp.

◆ str()

std::string fc::ecc::extended_private_key::str ( ) const

Definition at line 344 of file elliptic_common.cpp.

◆ to_base58()

std::string fc::ecc::extended_private_key::to_base58 ( ) const

Definition at line 183 of file elliptic.hpp.

The documentation for this class was generated from the following files: