mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
put previously global error handling and key hashes into ptx (pcp context) to make libpcp threadsafe.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user