Wire Sysio Wire Sysion 1.0.0
|
an elliptic curve private key. More...
#include <elliptic.hpp>
Public Member Functions | |
private_key () | |
private_key (private_key &&pk) | |
private_key (const private_key &pk) | |
~private_key () | |
private_key & | operator= (private_key &&pk) |
private_key & | operator= (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 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()) |
Friends | |
bool | operator== (const private_key &a, const private_key &b) |
bool | operator!= (const private_key &a, const private_key &b) |
bool | operator< (const private_key &a, const private_key &b) |
Definition at line 87 of file elliptic.hpp.
fc::ecc::private_key::private_key | ( | ) |
Definition at line 33 of file elliptic_impl_priv.cpp.
fc::ecc::private_key::private_key | ( | private_key && | pk | ) |
Definition at line 37 of file elliptic_impl_priv.cpp.
fc::ecc::private_key::private_key | ( | const private_key & | pk | ) |
Definition at line 35 of file elliptic_impl_priv.cpp.
fc::ecc::private_key::~private_key | ( | ) |
Definition at line 39 of file elliptic_impl_priv.cpp.
private_key fc::ecc::private_key::child | ( | const fc::sha256 & | offset | ) | const |
Definition at line 113 of file elliptic_common.cpp.
|
inline |
|
static |
Definition at line 200 of file elliptic_common.cpp.
|
static |
This method of generation enables creating a new private key in a deterministic manner relative to an initial seed. A public_key created from the seed can be multiplied by the offset to calculate the new public key without having to know the private key.
Definition at line 159 of file elliptic_common.cpp.
public_key fc::ecc::private_key::get_public_key | ( | ) | const |
Definition at line 71 of file elliptic_impl_priv.cpp.
fc::sha256 fc::ecc::private_key::get_secret | ( | ) | const |
Definition at line 60 of file elliptic_impl_priv.cpp.
fc::sha512 fc::ecc::private_key::get_shared_secret | ( | const public_key & | pub | ) | const |
Given a public key, calculatse a 512 bit shared secret between that key and this private key.
Definition at line 29 of file elliptic_mixed.cpp.
|
inline |
private_key & fc::ecc::private_key::operator= | ( | const private_key & | pk | ) |
Definition at line 47 of file elliptic_impl_priv.cpp.
private_key & fc::ecc::private_key::operator= | ( | private_key && | pk | ) |
Definition at line 41 of file elliptic_impl_priv.cpp.
|
static |
Definition at line 53 of file elliptic_impl_priv.cpp.
compact_signature fc::ecc::private_key::sign_compact | ( | const fc::sha256 & | digest, |
bool | require_canonical = true ) const |
Definition at line 91 of file elliptic_impl_priv.cpp.
|
friend |
Definition at line 130 of file elliptic.hpp.
|
friend |
Definition at line 134 of file elliptic.hpp.
|
friend |
Definition at line 126 of file elliptic.hpp.