CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
25 namespace catapult {
namespace crypto {
class PrivateKey; } }
27 namespace catapult {
namespace crypto {
30 utils::ContainerHexFormatter<Key::const_iterator>
FormatKey(
const Key& key);
33 utils::ContainerHexFormatter<Key::const_iterator>
FormatKey(
const PrivateKey& key);
constexpr auto cbegin() const noexcept
Returns a const iterator to the first byte.
Definition: ByteArray.h:81
constexpr void HexFormat(const ByteArray< N, TTag > &)
auto begin() const
Returns a const iterator to the beginning of the raw key.
Definition: PrivateKey.h:59
Represents a private key.
Definition: PrivateKey.h:32
utils::ContainerHexFormatter< Key::const_iterator > FormatKey(const Key &key)
Formats a public key for printing.
Definition: KeyUtils.cpp:27
Key ParseKey(const std::string &keyString)
Parses a key from a string (keyString) and returns the result.
Definition: KeyUtils.cpp:35
auto end() const
Returns a const iterator to the end of the raw key.
Definition: PrivateKey.h:64
bool IsValidKeyString(const std::string &str)
Returns true if str represents a valid public key, false otherwise.
Definition: KeyUtils.cpp:39
bool TryParseHexStringIntoContainer(const char *const pHexData, size_t dataSize, TContainer &outputContainer)
Tries to parse a hex string (pHexData with size dataSize) into outputContainer.
Definition: HexParser.h:35
Definition: AddressExtractionExtension.cpp:28
constexpr auto cend() const noexcept
Returns a const iterator to one past the last byte.
Definition: ByteArray.h:86
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41