extract public key from ceritificate

This commit is contained in:
orignal 2014-12-13 15:01:08 -05:00
parent d6fe4556fb
commit b399d45d66
3 changed files with 26 additions and 19 deletions

View file

@ -4,6 +4,8 @@
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include "Identity.h"
namespace i2p
{
@ -12,6 +14,8 @@ namespace data
class Reseeder
{
typedef Tag<512> PublicKey;
public:
Reseeder();
@ -28,7 +32,10 @@ namespace data
int ProcessSU3Stream (std::istream& s);
bool FindZipDataDescriptor (std::istream& s);
private:
std::map<std::string, PublicKey> m_SigningKeys;
};
}
}