CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace crypto {
29 #pragma pack(push, 16)
void ExtractPublicKeyFromPrivateKey(const PrivateKey &privateKey, Key &publicKey)
Extracts a public key (publicKey) from a private key ()
Definition: KeyGenerator.cpp:31
Key m_publicKey
Definition: KeyPair.h:62
Represents a private key.
Definition: PrivateKey.h:32
static auto FromPrivate(PrivateKey &&privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:41
KeyPair(PrivateKey &&privateKey)
Definition: KeyPair.h:35
static PrivateKey FromString(const std::string &str)
Creates a private key from str.
Definition: PrivateKey.cpp:68
Represents a pair of private key with associated public key.
Definition: KeyPair.h:33
const auto & privateKey() const
Returns a private key of a key pair.
Definition: KeyPair.h:51
PrivateKey m_privateKey
Definition: KeyPair.h:61
const auto & publicKey() const
Returns a public key of a key pair.
Definition: KeyPair.h:56
Definition: AddressExtractionExtension.cpp:28
static auto FromString(const std::string &privateKey)
Creates a key pair from privateKey.
Definition: KeyPair.h:46