mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
get preferred crypto key type from ratchets session
This commit is contained in:
parent
e69b56c4e3
commit
1c162f9fd5
6 changed files with 24 additions and 14 deletions
|
@ -170,6 +170,7 @@ namespace garlic
|
|||
std::shared_ptr<I2NPMessage> WrapOneTimeMessage (std::shared_ptr<const I2NPMessage> msg);
|
||||
|
||||
const uint8_t * GetRemoteStaticKey () const { return m_RemoteStaticKey; }
|
||||
i2p::data::CryptoKeyType GetRemoteStaticKeyType () const { return m_RemoteStaticKeyType; }
|
||||
void SetRemoteStaticKey (i2p::data::CryptoKeyType keyType, const uint8_t * key)
|
||||
{
|
||||
m_RemoteStaticKeyType = keyType;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue