put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe.

This commit is contained in:
TLINDEN
2014-05-04 17:11:03 +02:00
parent d1c87d1001
commit da9891ff81
58 changed files with 1330 additions and 958 deletions

View File

@@ -45,12 +45,13 @@ namespace pcp {
Vault vault;
PubKey Signedby;
Buf sig;
PcpContext PTX;
// constructors
Signature(Key &skey); // sign only
Signature(PubKey &pkey); // verify only
Signature(Key &skey, PubKey &pkey); // both/bulk
Signature(Vault &v);
Signature(PcpContext P, Key &skey); // sign only
Signature(PcpContext P,PubKey &pkey); // verify only
Signature(PcpContext P,Key &skey, PubKey &pkey); // both/bulk
Signature(PcpContext P,Vault &v);
// destructor
~Signature();