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

#include <elliptic.hpp>

Inheritance diagram for fc::ecc::extended_public_key:
fc::ecc::public_key

Public Member Functions

 extended_public_key (const public_key &k, const sha256 &c, int child=0, int parent_fp=0, uint8_t depth=0)
 
extended_public_key derive_child (int i) const
 
extended_public_key derive_normal_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::public_key
 public_key ()
 
 public_key (const public_key &k)
 
 ~public_key ()
 
public_key_data serialize () const
 
public_key_point_data serialize_ecc_point () const
 
 operator public_key_data () const
 
 public_key (const public_key_data &v)
 
 public_key (const public_key_point_data &v)
 
 public_key (const compact_signature &c, const fc::sha256 &digest, bool check_canonical=true)
 
public_key child (const fc::sha256 &offset) const
 
bool valid () const
 
public_key add (const fc::sha256 &offset) const
 
 public_key (public_key &&pk)
 
public_keyoperator= (public_key &&pk)
 
public_keyoperator= (const public_key &pk)
 
std::string to_base58 () const
 Allows to convert current public key object into base58 number. More...
 
unsigned int fingerprint () const
 

Static Public Member Functions

static extended_public_key deserialize (const extended_key_data &data)
 
static extended_public_key from_base58 (const std::string &base58)
 
- Static Public Member Functions inherited from fc::ecc::public_key
static std::string to_base58 (const public_key_data &key)
 
static public_key from_base58 (const std::string &b58)
 

Detailed Description

Definition at line 147 of file elliptic.hpp.

Constructor & Destructor Documentation

◆ extended_public_key()

fc::ecc::extended_public_key::extended_public_key ( const public_key k,
const sha256 c,
int  child = 0,
int  parent_fp = 0,
uint8_t  depth = 0 
)

Definition at line 174 of file elliptic_secp256k1.cpp.

Member Function Documentation

◆ derive_child()

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

Definition at line 251 of file elliptic_common.cpp.

◆ derive_normal_child()

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

Definition at line 178 of file elliptic_secp256k1.cpp.

◆ deserialize()

extended_public_key fc::ecc::extended_public_key::deserialize ( const extended_key_data data)
static

Definition at line 271 of file elliptic_common.cpp.

◆ from_base58()

extended_public_key fc::ecc::extended_public_key::from_base58 ( const std::string &  base58)
static

Definition at line 281 of file elliptic_common.cpp.

◆ serialize_extended()

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

Definition at line 257 of file elliptic_common.cpp.

◆ str()

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

Definition at line 276 of file elliptic_common.cpp.

◆ to_base58()

std::string fc::ecc::extended_public_key::to_base58 ( ) const
inline

Definition at line 159 of file elliptic.hpp.


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