catch up with api and system changes in libpcp. added c++ buffer class as well

This commit is contained in:
TLINDEN
2014-02-14 16:40:09 +01:00
parent ec192131af
commit 347f155341
14 changed files with 434 additions and 150 deletions

View File

@@ -48,12 +48,10 @@ namespace pcp {
// PK encryption methods
// sender pubkey is P
std::string encrypt(std::vector<unsigned char> message);
std::string encrypt(std::string message);
std::string encrypt(unsigned char *message, size_t mlen);
bool encrypt(FILE *in, FILE *out, bool sign);
// decrypt using P or use vault if defined
ResultSet decrypt(std::string cipher);
bool decrypt(FILE *in, FILE *out, bool verify);
};
};