#include <ShareCallback.h>
Inheritance diagram for CODEX_Server::ShareCallbackBase< _ShareType, _OneWay >:

Public Types | |
| typedef _ShareType | ShareType |
| Export the type of the sharing. | |
| typedef _OneWay | OneWay |
| Export the type of the one-way function. | |
|
typedef CODEX_VSS::LabeledShare< ShareType, OneWay > | LSType |
| Shorthand for the type of a labeled sharing. | |
|
typedef CODEX_VSS::ShareLabel< ShareType, OneWay > | LabelType |
| Shorthand for the type of a share label. | |
Public Methods | |
| virtual | ~ShareCallbackBase () |
| Virtual destructor. | |
| virtual const LSType & | operator() (const LabelType &label, unsigned int server) const=0 |
| Get the sharing for a specified label. | |
ServerState uses these callbacks to request specific sharings of a secret, allowing modules to set their own callbacks for sharings that they control.
Definition at line 33 of file ShareCallback.h.
|
||||||||||||||||
|
Get the sharing for a specified label. This method should be implemented by a derived class.
Implemented in CODEX_APSS::APSSShareCallback, and CODEX_Server::DefaultShareCallback< _ShareType, _OneWay >. |
1.2.18