hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::crypto::PublicKey Class Reference

#include "public_key.hpp"

Inheritance diagram for shared_model::crypto::PublicKey:
Inheritance graph
Collaboration diagram for shared_model::crypto::PublicKey:
Collaboration graph

Public Member Functions

 PublicKey (const std::string &public_key)
 
 PublicKey (const Blob &blob)
 
std::string toString () const override
 
- Public Member Functions inherited from shared_model::crypto::Blob
 Blob ()=default
 
 Blob (const std::string &blob)
 
 Blob (const Bytes &blob)
 
 Blob (Bytes &&blob) noexcept
 
virtual const Bytesblob () const
 
virtual const std::string & hex () const
 
virtual size_t size () const
 
bool operator== (const Blob &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Blob >
virtual bool operator== (const ModelType &rhs) const =0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< Blob >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::crypto::Blob
using Bytes = std::vector< uint8_t >
 
- Public Types inherited from shared_model::interface::ModelPrimitive< Blob >
using ModelType = Blob
 
- Public Types inherited from Cloneable< Blob >
using base_type = Blob
 
- Static Public Member Functions inherited from shared_model::crypto::Blob
static Blob fromHexString (const std::string &hex)
 
- Protected Member Functions inherited from shared_model::crypto::Blob
Blobclone () const override
 

Detailed Description

A special class for storing public keys.

Constructor & Destructor Documentation

shared_model::crypto::PublicKey::PublicKey ( const std::string &  public_key)
explicit
shared_model::crypto::PublicKey::PublicKey ( const Blob blob)
explicit

Member Function Documentation

std::string shared_model::crypto::PublicKey::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::crypto::Blob.

Here is the call graph for this function:


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