12#ifndef _PRIVMXLIB_ENDPOINT_CRYPTO_EXTKEY_HPP_
13#define _PRIVMXLIB_ENDPOINT_CRYPTO_EXTKEY_HPP_
17#include <privmx/endpoint/core/Buffer.hpp>
59 ExtKey(
const privmx::crypto::ExtKey& impl);
144 std::shared_ptr<privmx::crypto::ExtKey> _impl;
ExtKey deriveHardened(uint32_t index) const
std::string getPublicKeyAsBase58Address() const
ExtKey derive(uint32_t index) const
static ExtKey fromSeed(const core::Buffer &seed)
bool verifyCompactSignatureWithHash(const core::Buffer &message, const core::Buffer &signature) const
Validates a signature of a message.
static ExtKey fromBase58(const std::string &base58)
ExtKey(const privmx::crypto::ExtKey &impl)
std::string getPrivateKey() const
core::Buffer getPrivateEncKey() const
std::string getPrivatePartAsBase58() const
core::Buffer getChainCode() const
Gets the chain code of Extended Key.
static ExtKey generateRandom()
std::string getPublicPartAsBase58() const
std::string getPublicKey() const