Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::plain::Signature Class Referencefinal

#include "signature.hpp"

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

Public Member Functions

 Signature (const SignedType &signedData, const PublicKeyType &publicKey)
const interface::Signature::PublicKeyTypepublicKey () const override
const interface::Signature::SignedTypesignedData () const override
- Public Member Functions inherited from shared_model::interface::Signature
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< Signature >
virtual ~Cloneable ()=default

Protected Member Functions

interface::Signatureclone () const override

Additional Inherited Members

- Public Types inherited from shared_model::interface::Signature
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< Signature >
using base_type = Signature

Constructor & Destructor Documentation

Signature::Signature ( const SignedType signedData,
const PublicKeyType publicKey 

Here is the caller graph for this function:

Member Function Documentation

shared_model::interface::Signature * Signature::clone ( ) const

Polymorphic clone constructor. Method guarantees deep-copy.

pointer to cloned object

Implements Cloneable< Signature >.

Here is the call graph for this function:

const Signature::PublicKeyType & Signature::publicKey ( ) const
public key of signatory

Implements shared_model::interface::Signature.

const Signature::SignedType & Signature::signedData ( ) const
signed data

Implements shared_model::interface::Signature.

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