hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::Signature Class Referenceabstract

#include "signature.hpp"

Inheritance diagram for shared_model::interface::Signature:
Inheritance graph
Collaboration diagram for shared_model::interface::Signature:
Collaboration graph

Public Types

using PublicKeyType = crypto::PublicKey
 
using SignedType = crypto::Signed
 
- Public Types inherited from shared_model::interface::ModelPrimitive< Signature >
using ModelType = Signature
 
- Public Types inherited from Cloneable< ModelPrimitive< Signature > >
using base_type = ModelPrimitive< Signature >
 

Public Member Functions

virtual const PublicKeyTypepublicKey () const =0
 
virtual const SignedTypesignedData () const =0
 
bool operator== (const Signature &rhs) const override
 
std::string toString () const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Signature >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< Signature > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from Cloneable< ModelPrimitive< Signature > >
virtual ModelPrimitive< Signature > * clone () const =0
 

Detailed Description

Class represents signature of high-level domain objects.

Member Typedef Documentation

Member Function Documentation

bool shared_model::interface::Signature::operator== ( const Signature rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< Signature >.

Here is the call graph for this function:

virtual const PublicKeyType& shared_model::interface::Signature::publicKey ( ) const
pure virtual
Returns
public key of signatory

Implemented in shared_model::proto::Signature.

Here is the caller graph for this function:

virtual const SignedType& shared_model::interface::Signature::signedData ( ) const
pure virtual
Returns
signed data

Implemented in shared_model::proto::Signature.

Here is the caller graph for this function:

std::string shared_model::interface::Signature::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< Signature >.

Here is the call graph for this function:


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