BitShares-Core
7.0.2
BitShares blockchain node software and command-line wallet software
|
contains only the public point of an elliptic curve key. More...
#include <elliptic.hpp>
Public Member Functions | |
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_key & | operator= (public_key &&pk) |
public_key & | operator= (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 std::string | to_base58 (const public_key_data &key) |
static public_key | from_base58 (const std::string &b58) |
Friends | |
class | private_key |
bool | operator== (const public_key &a, const public_key &b) |
bool | operator!= (const public_key &a, const public_key &b) |
contains only the public point of an elliptic curve key.
Definition at line 35 of file elliptic.hpp.
fc::ecc::public_key::public_key | ( | ) |
Definition at line 77 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::public_key | ( | const public_key & | k | ) |
Definition at line 79 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::~public_key | ( | ) |
Definition at line 83 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::public_key | ( | const public_key_data & | v | ) |
Definition at line 151 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::public_key | ( | const public_key_point_data & | v | ) |
Definition at line 135 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::public_key | ( | const compact_signature & | c, |
const fc::sha256 & | digest, | ||
bool | check_canonical = true |
||
) |
Definition at line 156 of file elliptic_secp256k1.cpp.
fc::ecc::public_key::public_key | ( | public_key && | pk | ) |
Definition at line 81 of file elliptic_secp256k1.cpp.
public_key fc::ecc::public_key::add | ( | const fc::sha256 & | offset | ) | const |
Computes new pubkey = regenerate(offset).pubkey + old pubkey = offset * G + 1 * old pubkey ?!
Definition at line 102 of file elliptic_secp256k1.cpp.
public_key fc::ecc::public_key::child | ( | const fc::sha256 & | offset | ) | const |
Definition at line 121 of file elliptic_common.cpp.
unsigned int fc::ecc::public_key::fingerprint | ( | ) | const |
Definition at line 161 of file elliptic_common.cpp.
|
static |
Definition at line 148 of file elliptic_common.cpp.
|
inline |
Definition at line 44 of file elliptic.hpp.
public_key & fc::ecc::public_key::operator= | ( | const public_key & | pk | ) |
Definition at line 85 of file elliptic_secp256k1.cpp.
public_key & fc::ecc::public_key::operator= | ( | public_key && | pk | ) |
Definition at line 91 of file elliptic_secp256k1.cpp.
public_key_data fc::ecc::public_key::serialize | ( | ) | const |
Definition at line 118 of file elliptic_secp256k1.cpp.
public_key_point_data fc::ecc::public_key::serialize_ecc_point | ( | ) | const |
Definition at line 124 of file elliptic_secp256k1.cpp.
std::string fc::ecc::public_key::to_base58 | ( | ) | const |
Allows to convert current public key object into base58 number.
Definition at line 112 of file elliptic_secp256k1.cpp.
|
static |
Definition at line 138 of file elliptic_common.cpp.
bool fc::ecc::public_key::valid | ( | ) | const |
Definition at line 97 of file elliptic_secp256k1.cpp.
|
friend |
Definition at line 66 of file elliptic.hpp.
|
friend |
Definition at line 62 of file elliptic.hpp.
|
friend |
Definition at line 79 of file elliptic.hpp.