mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-30 20:52:30 +02:00
Do not include Signature.h in Identity.h.
This commit is contained in:
parent
a24d99d678
commit
828ac404eb
3 changed files with 18 additions and 6 deletions
|
@ -7,12 +7,16 @@
|
|||
#include <memory>
|
||||
#include "util/base64.h"
|
||||
#include "crypto/ElGamal.h"
|
||||
#include "crypto/Signature.h"
|
||||
|
||||
namespace i2p
|
||||
{
|
||||
namespace data
|
||||
{
|
||||
namespace i2p {
|
||||
|
||||
// Forward declaration to avoid include
|
||||
namespace crypto {
|
||||
class Signer;
|
||||
class Verifier;
|
||||
}
|
||||
|
||||
namespace data {
|
||||
template<int sz>
|
||||
class Tag
|
||||
{
|
||||
|
@ -183,7 +187,7 @@ namespace data
|
|||
PrivateKeys (const Keys& keys): m_Signer (nullptr) { *this = keys; };
|
||||
PrivateKeys& operator=(const Keys& keys);
|
||||
PrivateKeys& operator=(const PrivateKeys& other);
|
||||
~PrivateKeys () { delete m_Signer; };
|
||||
~PrivateKeys ();
|
||||
|
||||
const IdentityEx& GetPublic () const { return m_Public; };
|
||||
const uint8_t * GetPrivateKey () const { return m_PrivateKey; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue