#include <ShareLabel.h>
Inheritance diagram for CODEX_VSS::SecretWitness< _ShareType, _OneWay >:


Public Types | |
| typedef CODEX_ASN1::Base | BaseType |
| Export the base class type. | |
| typedef _ShareType | ShareType |
| Export the share type. | |
| typedef _OneWay | OneWay |
| Export the one-way function type. | |
|
typedef VRecon< ShareType, OneWay >::ValueType | WitnessType |
| Short name for the witness type. | |
| typedef ShareType::ValueType | ValueType |
| Short name for the share value type. | |
| typedef OneWay::CtorArgs | ArgsType |
| Short name for the constructor arguments to OneWay. | |
Public Member Functions | |
| SecretWitness () | |
| Default constructor, for creating an object to be unmarshalled. | |
| SecretWitness (const WitnessType &witness, const ArgsType &args) | |
| Constructor taking a witness and one-way function ctor args. | |
| SecretWitness (const SecretWitness< ShareType, OneWay > &aOther) | |
| Copy constructor. | |
| ~SecretWitness () | |
| Virtual destructor. | |
| void | operator= (const SecretWitness< ShareType, OneWay > &aOther) |
| Assignment operator. | |
| const WitnessType & | witness () const |
| The witness for the secret. | |
| const ArgsType & | args () const |
| The arguments for the one-way function constructor. | |
| int | marshal (unsigned char **pp) const |
| This function creates a serialized representation of the object, which is returned through the argument pp. | |
| void * | unmarshal (void *bogus, unsigned char **pp, long length) |
| This function takes a serialized representation of the object and recreates the object representation. | |
| void | toFile (const char *fname) const |
| Store the shares in a file. | |
| void * | fromFile (const char *fname) |
| Read shares from a file. | |
| bool | initialized () const |
Protected Attributes | |
| bool | m_initialized |
| Has this object been initialized yet, or is it still blank? | |
Definition at line 525 of file ShareLabel.h.
|
|
||||||||||
|
This function creates a serialized representation of the object, which is returned through the argument pp. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 582 of file ShareLabel.h. Referenced by CODEX_VSS::SecretWitness< ShareType, OneWay >::toFile(). |
|
||||||||||||||||||||
|
This function takes a serialized representation of the object and recreates the object representation. This must be overridden by the concrete derived class.
Implements CODEX_ASN1::Base. Definition at line 598 of file ShareLabel.h. Referenced by CODEX_VSS::SecretWitness< ShareType, OneWay >::fromFile(). |
1.4.1