plebble
|
#include <install_script.h>
Public Types | |
typedef engine::evidence | b |
typedef engine::signed_data | s |
![]() | |
typedef crypto::ripemd160 | hasher_t |
typedef hasher_t::value_type | hash_t |
![]() | |
typedef crypto::ec::keys | keys |
typedef keys::pub_t | pubkey_t |
typedef us::gov::crypto::ripemd160 | ripemd160 |
typedef crypto::ec::sigmsg_hasher_t | sigmsg_hasher_t |
Public Member Functions | |
install_script () | |
~install_script () override | |
hash_t | compute_hash () const override |
void | to_stream (ostream &) const override |
string | name () const override |
void | hash_data_to_sign (sigmsg_hasher_t &) const override |
void | hash_data (ripemd160 &) const override |
bool | verify (ostream &os) const override |
void | write_pretty (ostream &os) const override |
string | to_b58 () const |
datagram * | get_datagram (uint16_t seq) const |
![]() | |
evidence (int app, uint8_t eid) | |
evidence (const evidence &)=delete | |
virtual | ~evidence () |
virtual void | hash_data_to_sign (crypto::ec::sigmsg_hasher_t &h) const |
void | update_ts (const uint64_t &nsecs_in_future=0) |
![]() | |
virtual | ~signed_data () |
virtual bool | from_stream2 (istream &) |
void | sign (const crypto::ec::keys &) |
ripemd160::value_type | hash () const |
Static Public Member Functions | |
static void | from_stream (install_script &, istream &) |
static pair< ko, install_script * > | from_stream (istream &) |
static pair< ko, install_script * > | from_b58 (const string &) |
![]() | |
static evidence * | from_stream (istream &) |
static evidence * | from_stream (int appid, uint8_t evid, istream &is) |
static evidence * | from_b58 (const string &b58) |
static string | formatts (uint64_t ts) |
static void | from_stream (evidence &, istream &is) |
static pair< int, uint8_t > | extract_instance_id (istream &is) |
![]() | |
static void | from_stream (signed_data &, istream &) |
static void | from_stream_prev (signed_data &, istream &) |
static void | skip (istream &) |
Public Attributes | |
string | script |
![]() | |
uint64_t | ts |
uint64_t | expires |
int | app |
uint8_t | eid |
![]() | |
pubkey_t | pubkey |
string | signature |
us::gov::sys::install_script::install_script | ( | ) |
|
override |
|
overridevirtual |
Implements us::gov::relay::evidence.
|
static |
|
static |
|
static |
datagram* us::gov::sys::install_script::get_datagram | ( | uint16_t | seq | ) | const |
|
overridevirtual |
Implements us::gov::engine::signed_data.
|
overridevirtual |
Implements us::gov::engine::signed_data.
|
inlineoverridevirtual |
Implements us::gov::relay::evidence.
string us::gov::sys::install_script::to_b58 | ( | ) | const |
|
overridevirtual |
Reimplemented from us::gov::engine::signed_data.
|
overridevirtual |
Reimplemented from us::gov::engine::signed_data.
|
overridevirtual |
Reimplemented from us::gov::engine::signed_data.
string us::gov::sys::install_script::script |