mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-08-14 21:13:07 +01:00
preferred crypto type for Decrypt
This commit is contained in:
parent
f4ca6bbb52
commit
f21af4068f
10 changed files with 14 additions and 14 deletions
|
@ -225,7 +225,7 @@ namespace data
|
|||
public:
|
||||
|
||||
virtual ~LocalDestination() {};
|
||||
virtual bool Decrypt (const uint8_t * encrypted, uint8_t * data, BN_CTX * ctx) const = 0;
|
||||
virtual bool Decrypt (const uint8_t * encrypted, uint8_t * data, BN_CTX * ctx, CryptoKeyType preferredCrypto = CRYPTO_KEY_TYPE_ELGAMAL) const = 0;
|
||||
virtual std::shared_ptr<const IdentityEx> GetIdentity () const = 0;
|
||||
|
||||
const IdentHash& GetIdentHash () const { return GetIdentity ()->GetIdentHash (); };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue