mirror of https://github.com/PurpleI2P/i2pd
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
479 B
C++
20 lines
479 B
C++
10 years ago
|
#include "Destination.h"
|
||
|
#include "Identity.h"
|
||
|
#include "ClientContext.h"
|
||
|
#include "I2PService.h"
|
||
|
|
||
|
|
||
|
namespace i2p
|
||
|
{
|
||
|
namespace client
|
||
|
{
|
||
|
static const i2p::data::SigningKeyType I2P_SERVICE_DEFAULT_KEY_TYPE = i2p::data::SIGNING_KEY_TYPE_ECDSA_SHA256_P256;
|
||
|
|
||
|
I2PService::I2PService (ClientDestination * localDestination):
|
||
|
m_LocalDestination (localDestination ? localDestination :
|
||
|
i2p::client::context.CreateNewLocalDestination (false, I2P_SERVICE_DEFAULT_KEY_TYPE))
|
||
|
{
|
||
|
}
|
||
|
}
|
||
|
}
|