Wire Sysio Wire Sysion 1.0.0
|
an elliptic curve private key. More...
#include <elliptic_em.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 90 of file elliptic_em.hpp.
fc::em::private_key::private_key | ( | ) |
Definition at line 33 of file elliptic_em_impl_priv.cpp.
fc::em::private_key::private_key | ( | private_key && | pk | ) |
Definition at line 37 of file elliptic_em_impl_priv.cpp.
fc::em::private_key::private_key | ( | const private_key & | pk | ) |
Definition at line 35 of file elliptic_em_impl_priv.cpp.
fc::em::private_key::~private_key | ( | ) |
Definition at line 39 of file elliptic_em_impl_priv.cpp.
private_key fc::em::private_key::child | ( | const fc::sha256 & | offset | ) | const |
Definition at line 114 of file elliptic_em_common.cpp.
|
inline |
Definition at line 142 of file elliptic_em.hpp.
|
static |
Definition at line 201 of file elliptic_em_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 160 of file elliptic_em_common.cpp.
public_key fc::em::private_key::get_public_key | ( | ) | const |
Definition at line 71 of file elliptic_em_impl_priv.cpp.
fc::sha256 fc::em::private_key::get_secret | ( | ) | const |
Definition at line 60 of file elliptic_em_impl_priv.cpp.
fc::sha512 fc::em::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 67 of file elliptic_em.cpp.
|
inline |
private_key & fc::em::private_key::operator= | ( | const private_key & | pk | ) |
Definition at line 47 of file elliptic_em_impl_priv.cpp.
private_key & fc::em::private_key::operator= | ( | private_key && | pk | ) |
Definition at line 41 of file elliptic_em_impl_priv.cpp.
|
static |
Definition at line 53 of file elliptic_em_impl_priv.cpp.
compact_signature fc::em::private_key::sign_compact | ( | const fc::sha256 & | digest, |
bool | require_canonical = true ) const |
Definition at line 91 of file elliptic_em_impl_priv.cpp.
|
friend |
Definition at line 133 of file elliptic_em.hpp.
|
friend |
Definition at line 137 of file elliptic_em.hpp.
|
friend |
Definition at line 129 of file elliptic_em.hpp.