context fixes

This commit is contained in:
TLINDEN
2014-05-06 11:49:31 +02:00
parent db264ff16b
commit 729c137e3c
11 changed files with 48 additions and 44 deletions

View File

@@ -43,11 +43,11 @@ namespace pcp {
PcpContext PTX;
// constructors
PubKey(PcpContext P);
PubKey(PcpContext &P);
PubKey();
PubKey(PcpContext P, pcp_pubkey_t *k);
PubKey(PcpContext P, pcp_pubkey_t *k, bool store);
PubKey(PcpContext P, std::string &z85encoded);
PubKey(PcpContext &P, pcp_pubkey_t *k);
PubKey(PcpContext &P, pcp_pubkey_t *k, bool store);
PubKey(PcpContext &P, std::string &z85encoded);
// destructors
~PubKey();
@@ -79,15 +79,15 @@ namespace pcp {
// constructors
Key();
Key(PcpContext P);
Key(PcpContext P, bool generate);
Key(PcpContext P, const std::string& passphrase);
Key(PcpContext P, const std::string& passphrase,
Key(PcpContext &P);
Key(PcpContext &P, bool generate);
Key(PcpContext &P, const std::string& passphrase);
Key(PcpContext &P, const std::string& passphrase,
const std::string& owner,
const std::string& mail);
Key(PcpContext P, pcp_key_t *k);
Key(PcpContext P, pcp_key_t *k, bool store);
Key(PcpContext P, std::string &z85encoded, std::string& passphrase);
Key(PcpContext &P, pcp_key_t *k);
Key(PcpContext &P, pcp_key_t *k, bool store);
Key(PcpContext &P, std::string &z85encoded, std::string& passphrase);
// destructor
~Key();