hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::bindings::ModelProto< UnsignedWrapper > Class Template Reference

#include "model_proto.hpp"

Collaboration diagram for shared_model::bindings::ModelProto< UnsignedWrapper >:
Collaboration graph

Public Member Functions

 ModelProto (UnsignedWrapper &us)
 
ModelProto< UnsignedWrapper > signAndAddSignature (const crypto::Keypair &keypair)
 
crypto::Blob finish ()
 

Detailed Description

template<typename UnsignedWrapper>
class shared_model::bindings::ModelProto< UnsignedWrapper >

Class for proto operations for SWIG

Template Parameters
UnsignedWrapper- type of unsigned model proto object

Constructor & Destructor Documentation

template<typename UnsignedWrapper >
shared_model::bindings::ModelProto< UnsignedWrapper >::ModelProto ( UnsignedWrapper &  us)
inline

Member Function Documentation

template<typename UnsignedWrapper >
crypto::Blob shared_model::bindings::ModelProto< UnsignedWrapper >::finish ( )
inline

Finishes object building

Returns
built object
template<typename UnsignedWrapper >
ModelProto<UnsignedWrapper> shared_model::bindings::ModelProto< UnsignedWrapper >::signAndAddSignature ( const crypto::Keypair keypair)
inline

Signs and adds a signature for a proto object

Parameters
keypair- keypair to sign
Returns
ModelProto with signed object

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