#include <Combinatoric.h>
Public Types | |
|
typedef Combinatoric< NumT, ThreshT > | ShareType |
| Export the type of sharing. | |
Public Member Functions | |
| ShareSet () | |
| Default constructor. | |
| ShareSet (const ShareSet< ShareType > &aOther) | |
| Copy constructor. | |
| void | operator= (const ShareSet< ShareType > &aOther) |
| Assignment operator. | |
| const ShareType::ValueType & | operator() (unsigned int i) const |
| The share for a given index. | |
| void | setShare (unsigned int i, const typename ShareType::ValueType &share) |
| Set the share at a given index to a particular value. | |
| void | addShare (const ShareType &share) |
| Add a share to the set. | |
| void | recover (CODEX_ASN1::SecureBigNumber &result) const |
| Recover the secret from the set of shares. | |
| bool | shouldHave (unsigned int shareNum, unsigned int partNum) const |
| Test whether a participant in a secret sharing scheme should have a particular share index. | |
Definition at line 469 of file Combinatoric.h.
|
||||||||||
|
The share for a given index.
Definition at line 497 of file Combinatoric.h. |
|
||||||||||
|
Recover the secret from the set of shares.
Definition at line 527 of file Combinatoric.h. |
|
||||||||||||||||
|
Set the share at a given index to a particular value.
Definition at line 510 of file Combinatoric.h. |
|
||||||||||||||||
|
Test whether a participant in a secret sharing scheme should have a particular share index.
Definition at line 541 of file Combinatoric.h. |
1.4.1