save b33 addresses

This commit is contained in:
orignal 2019-03-28 16:06:53 -04:00
parent f5ab8f2062
commit 3fd9d5f641
3 changed files with 23 additions and 6 deletions

View file

@ -134,6 +134,7 @@ namespace data
BlindedPublicKey (std::shared_ptr<const IdentityEx> identity, SigningKeyType blindedKeyType = i2p::data::SIGNING_KEY_TYPE_REDDSA_SHA512_ED25519);
BlindedPublicKey (const std::string& b33); // from b33 without .b32.i2p
std::string ToB33 () const;
const uint8_t * GetPublicKey () const { return m_PublicKey.data (); };
size_t GetPublicKeyLen () const { return m_PublicKey.size (); };