plebble
us::gov::engine::signed_data Struct Referenceabstract

#include <signed_data.h>

Inheritance diagram for us::gov::engine::signed_data:
Collaboration diagram for us::gov::engine::signed_data:

Public Types

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

virtual ~signed_data ()
 
virtual void hash_data_to_sign (sigmsg_hasher_t &) const =0
 
virtual void hash_data (ripemd160 &) const =0
 
virtual void to_stream (ostream &) const
 
virtual bool verify (ostream &) const
 
virtual void write_pretty (ostream &os) const
 
virtual bool from_stream2 (istream &)
 
void sign (const crypto::ec::keys &)
 
ripemd160::value_type hash () const
 

Static Public Member Functions

static void from_stream (signed_data &, istream &)
 
static void from_stream_prev (signed_data &, istream &)
 
static void skip (istream &)
 

Public Attributes

pubkey_t pubkey
 
string signature
 

Member Typedef Documentation

◆ keys

◆ pubkey_t

◆ ripemd160

◆ sigmsg_hasher_t

Constructor & Destructor Documentation

◆ ~signed_data()

virtual us::gov::engine::signed_data::~signed_data ( )
inlinevirtual

Member Function Documentation

◆ from_stream()

static void us::gov::engine::signed_data::from_stream ( signed_data ,
istream &   
)
static

Referenced by us::gov::engine::local_deltas::from_stream().

Here is the caller graph for this function:

◆ from_stream2()

virtual bool us::gov::engine::signed_data::from_stream2 ( istream &  )
inlinevirtual

◆ from_stream_prev()

static void us::gov::engine::signed_data::from_stream_prev ( signed_data ,
istream &   
)
static

Referenced by us::gov::engine::local_deltas::from_stream_prev().

Here is the caller graph for this function:

◆ hash()

ripemd160::value_type us::gov::engine::signed_data::hash ( ) const

◆ hash_data()

virtual void us::gov::engine::signed_data::hash_data ( ripemd160 ) const
pure virtual

◆ hash_data_to_sign()

virtual void us::gov::engine::signed_data::hash_data_to_sign ( sigmsg_hasher_t ) const
pure virtual

◆ sign()

void us::gov::engine::signed_data::sign ( const crypto::ec::keys )

◆ skip()

static void us::gov::engine::signed_data::skip ( istream &  )
static

◆ to_stream()

virtual void us::gov::engine::signed_data::to_stream ( ostream &  ) const
virtual

◆ verify()

virtual bool us::gov::engine::signed_data::verify ( ostream &  ) const
virtual

◆ write_pretty()

virtual void us::gov::engine::signed_data::write_pretty ( ostream &  os) const
virtual

Member Data Documentation

◆ pubkey

pubkey_t us::gov::engine::signed_data::pubkey

◆ signature

string us::gov::engine::signed_data::signature

The documentation for this struct was generated from the following file: