handle LS2 in destinations

This commit is contained in:
orignal 2019-01-09 12:47:47 -05:00
parent b5596c4596
commit 5398b651f7
6 changed files with 85 additions and 39 deletions

View file

@ -110,8 +110,9 @@ namespace data
bool operator == (const IdentityEx & other) const { return GetIdentHash() == other.GetIdentHash(); }
void RecalculateIdentHash(uint8_t * buff=nullptr);
static i2p::crypto::Verifier * CreateVerifier (uint16_t keyType);
static i2p::crypto::Verifier * CreateVerifier (SigningKeyType keyType);
static std::shared_ptr<i2p::crypto::CryptoKeyEncryptor> CreateEncryptor (CryptoKeyType keyType, const uint8_t * key);
private:
void CreateVerifier () const;