#include "keypair.hpp"


Public Types | |
| using | PrivateKeyType = PrivateKey |
| Type of private key. More... | |
Public Types inherited from shared_model::interface::ModelPrimitive< Keypair > | |
| using | ModelType = Keypair |
Public Member Functions | |
| Keypair (shared_model::interface::types::PublicKeyHexStringView public_key_hex, const PrivateKeyType &private_key) | |
| std::string const & | publicKey () const |
| const PrivateKeyType & | privateKey () const |
| bool | operator== (const Keypair &keypair) const override |
| std::string | toString () const override |
Public Member Functions inherited from shared_model::interface::ModelPrimitive< Keypair > | |
| virtual bool | operator== (const ModelType &rhs) const=0 |
| virtual bool | operator!= (const ModelType &rhs) const |
| virtual | ~ModelPrimitive ()=default |
Class for holding a keypair: public key and private key
Type of private key.
|
explicit |
|
override |

| const Keypair::PrivateKeyType & shared_model::crypto::Keypair::privateKey | ( | ) | const |

| std::string const & shared_model::crypto::Keypair::publicKey | ( | ) | const |

|
overridevirtual |
Make string developer representation of object
Reimplemented from shared_model::interface::ModelPrimitive< Keypair >.
