mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-13 01:20:22 +03:00
33 lines
418 B
C
33 lines
418 B
C
|
#ifndef FAMILY_H__
|
||
|
#define FAMILY_H_
|
||
|
|
||
|
#include <map>
|
||
|
#include <string>
|
||
|
#include <memory>
|
||
|
#include "Signature.h"
|
||
|
|
||
|
namespace i2p
|
||
|
{
|
||
|
namespace data
|
||
|
{
|
||
|
class Families
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Families ();
|
||
|
~Families ();
|
||
|
void LoadCertificates ();
|
||
|
|
||
|
private:
|
||
|
|
||
|
void LoadCertificate (const std::string& filename);
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::map<std::string, std::shared_ptr<i2p::crypto::Verifier> > m_SigningKeys;
|
||
|
};
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|