CatapultServer
v0.5.0.1 (Elephant)
|
Represents a pair of private key with associated public key. More...
Public Member Functions | |
const auto & | privateKey () const |
Returns a private key of a key pair. More... | |
const auto & | publicKey () const |
Returns a public key of a key pair. More... | |
Static Public Member Functions | |
static auto | FromPrivate (PrivateKey &&privateKey) |
Creates a key pair from privateKey. More... | |
static auto | FromString (const std::string &privateKey) |
Creates a key pair from privateKey. More... | |
Private Member Functions | |
KeyPair (PrivateKey &&privateKey) | |
Private Attributes | |
PrivateKey | m_privateKey |
Key | m_publicKey |
Represents a pair of private key with associated public key.
|
inlineexplicitprivate |
|
inlinestatic |
Creates a key pair from privateKey.
|
inlinestatic |
Creates a key pair from privateKey.
|
inline |
Returns a private key of a key pair.
|
inline |
Returns a public key of a key pair.
|
private |
|
private |