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

#include "signature.hpp"

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

Public Member Functions

template<typename SignatureType >
 Signature (SignatureType &&signature)
 
 Signature (const Signature &o)
 
 Signature (Signature &&o) noexcept
 
const PublicKeyTypepublicKey () const override
 
const SignedTypesignedData () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::Signature, iroha::protocol::Signature, Signature >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::Signature & getTransport () const
 
- 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< ModelPrimitive< Signature > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::Signature, iroha::protocol::Signature, Signature >
using TransportType = iroha::protocol::Signature
 
- 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< ModelPrimitive< Signature > >
using base_type = ModelPrimitive< Signature >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::Signature, iroha::protocol::Signature, Signature >
interface::Signature::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::Signature, iroha::protocol::Signature, Signature >
detail::ReferenceHolder< iroha::protocol::Signature > proto_
 

Constructor & Destructor Documentation

template<typename SignatureType >
shared_model::proto::Signature::Signature ( SignatureType &&  signature)
inlineexplicit
shared_model::proto::Signature::Signature ( const Signature o)
inline
shared_model::proto::Signature::Signature ( Signature &&  o)
inlinenoexcept

Member Function Documentation

const PublicKeyType& shared_model::proto::Signature::publicKey ( ) const
inlineoverridevirtual
Returns
public key of signatory

Implements shared_model::interface::Signature.

const SignedType& shared_model::proto::Signature::signedData ( ) const
inlineoverridevirtual
Returns
signed data

Implements shared_model::interface::Signature.

Here is the call graph for this function:


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